activity_popup.xml 3.37 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".activities.temp.PopupAct">


    <LinearLayout
        android:layout_width="@dimen/twoHundred_fifty_width"
        android:layout_height="@dimen/twoHundred_twenty_height"
        android:layout_centerInParent="true"
        android:orientation="horizontal">

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="@dimen/twoHundred_twenty_height"
            android:background="@drawable/popup_dialogbox">

            <TextView
                android:id="@+id/defaultxt"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/layout_marginStart_twenty"
                android:layout_marginTop="@dimen/layout_marginTop_ten"
                android:text="@string/take_correctivetxt_temp"
                android:textColor="@color/blackcolor"
                android:textSize="@dimen/fifteenText_size" />


            <EditText
                    android:id="@+id/name_txt"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/oneHundred_height"
                    android:layout_below="@+id/defaultxt"
                    android:layout_marginEnd="@dimen/layout_marginEnd_twenty"
                    android:layout_marginStart="@dimen/layout_marginStart_twenty"
                    android:layout_marginTop="@dimen/layout_marginTop_twenty"
                    android:background="@drawable/help_box_bg"
                    android:gravity="top"
                    android:paddingStart="@dimen/padding_start_ten"
                    android:paddingTop="@dimen/padding_top_five"
                    android:textColor="@color/textcolor"
                    android:textColorHint="@color/textcolor"
                    android:textSize="@dimen/fifteenText_size"/>


            <TextView
                android:id="@+id/tv_save"
                android:layout_width="match_parent"
                android:layout_height="@dimen/forty_height"
                android:layout_below="@+id/name_txt"
                android:layout_marginEnd="@dimen/layout_marginEnd_twenty"
                android:layout_marginStart="@dimen/layout_marginStart_twenty"
                android:layout_marginTop="@dimen/layout_marginTop_ten"
                android:background="@color/yellowcolor"
                android:gravity="center"
                android:text="@string/savetxt_temp"
                android:textColor="@color/whitecolor"
                android:textSize="@dimen/fifteenText_size" />

        </RelativeLayout>

    </LinearLayout>

    <ImageView
        android:id="@+id/img_cancel"
        android:layout_width="@dimen/fifty_width"
        android:layout_height="@dimen/fifty_height"
        android:layout_alignParentEnd="true"
        android:layout_marginEnd="@dimen/layout_marginEnd_ten"
        android:layout_marginTop="@dimen/layout_marginTop_ten"
        android:padding="@dimen/padding_seventeen"
        android:src="@drawable/icon_cross"
        android:tint="@color/yellowcolor" />


</RelativeLayout>