activity_temp_settings.xml 15.9 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"
    android:background="@color/whitecolor"
    tools:context=".activities.temp.TempSettings">

    <LinearLayout
        android:id="@+id/rl_toollayout"
        android:layout_width="match_parent"
        android:layout_height="@dimen/fifty_fiveheight"
        android:orientation="horizontal">

        <ImageView
            android:id="@+id/back_icon"
            android:layout_width="@dimen/forty_fivewidth"
            android:layout_height="match_parent"
            android:padding="@dimen/padding_ten"
            android:src="@drawable/icon_back"
            android:tint="@color/blackcolor" />

        <TextView
            android:id="@+id/toolbar_txt"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:textColor="@color/blackcolor"
            android:textSize="@dimen/eighteenText_size"
            android:textStyle="bold" />


        <ImageView
            android:id="@+id/bluethood_icon"
            android:layout_width="@dimen/thirty_width"
            android:layout_height="match_parent"
            android:layout_marginEnd="@dimen/layout_marginEnd_five"
            android:padding="@dimen/padding_two"
            android:src="@drawable/icon_bluetooth"
            android:tint="@color/blackcolor"
            android:visibility="gone" />

        <ImageView
            android:id="@+id/notification_icon"
            android:layout_width="@dimen/thirty_width"
            android:layout_height="@dimen/thirty_height"
            android:layout_gravity="center"
            android:layout_marginEnd="@dimen/layout_marginEnd_ten"
            android:padding="@dimen/padding_five"
            android:src="@drawable/icon_bell"
            android:tint="@color/blackcolor" />


    </LinearLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/rl_toollayout"
        android:paddingStart="@dimen/padding_start_ten"
        android:paddingEnd="@dimen/padding_end_ten">

        <HorizontalScrollView
            android:id="@+id/horitxt"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/twentyfive_height"
            android:layout_marginTop="@dimen/layout_marginTop_five"
            android:scrollbarThumbHorizontal="@color/transparent"
            android:scrollbars="horizontal">

            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:orientation="horizontal">

                <TextView
                    android:id="@+id/tv_dashboard"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:gravity="center"
                    android:text="@string/dashboard_txt"
                    android:textColor="@color/yellowcolor"
                    android:textSize="@dimen/fifteenText_size" />

                <ImageView
                    android:layout_width="@dimen/twelve_width"
                    android:layout_height="@dimen/twelve_height"
                    android:layout_gravity="center"
                    android:layout_marginStart="@dimen/layout_marginstart_five"
                    android:src="@drawable/icon_forward"
                    android:tint="@color/textcolor" />

                <TextView
                    android:id="@+id/master_label_txt"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:layout_marginStart="@dimen/layout_marginstart_ten"
                    android:gravity="center"
                    android:text="@string/temping_txt"
                    android:textColor="@color/yellowcolor"
                    android:textSize="@dimen/fifteenText_size"
                    android:visibility="gone" />

                <ImageView
                    android:layout_width="@dimen/twelve_width"
                    android:layout_height="@dimen/twelve_height"
                    android:layout_gravity="center"
                    android:layout_marginStart="@dimen/layout_marginstart_five"
                    android:src="@drawable/icon_forward"
                    android:tint="@color/textcolor"
                    android:visibility="gone" />


                <TextView
                    android:id="@+id/product_cat_txt"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:layout_marginStart="@dimen/layout_marginstart_ten"
                    android:gravity="center"
                    android:text="@string/temp_settings_txt"
                    android:textColor="@color/textcolor"
                    android:textSize="@dimen/fifteenText_size" />


            </LinearLayout>
        </HorizontalScrollView>

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_below="@+id/horitxt"
            android:layout_marginTop="@dimen/layout_marginTop_five">

            <LinearLayout
                android:id="@+id/spinner_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/sixty_height"
                android:gravity="center_vertical"
                android:orientation="horizontal">

                <TextView
                    android:id="@+id/tv_choose_partner"
                    android:layout_width="0dp"
                    android:layout_height="@dimen/forty_fiveheight"
                    android:layout_marginEnd="@dimen/layout_marginEnd_ten"
                    android:layout_weight="1"
                    android:background="@drawable/bg_spinner_circle"
                    android:gravity="center"
                    android:paddingStart="@dimen/padding_two"
                    android:paddingEnd="@dimen/padding_two"
                    android:text="@string/choose_partner"
                    android:textSize="@dimen/fifteenText_size">

                </TextView>

                <TextView
                    android:id="@+id/tv_choose_outlet"
                    android:layout_width="0dp"
                    android:layout_height="@dimen/forty_fiveheight"
                    android:layout_marginStart="@dimen/layout_marginstart_ten"
                    android:layout_weight="1"
                    android:background="@drawable/bg_spinner_circle"
                    android:gravity="center"
                    android:paddingStart="@dimen/padding_two"
                    android:paddingEnd="@dimen/padding_two"
                    android:text="@string/choose_outlet"
                    android:textSize="@dimen/fifteenText_size">

                </TextView>

            </LinearLayout>


            <ScrollView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_below="@+id/spinner_layout"
                android:scrollbars="vertical">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical">

                    <RelativeLayout
                        android:id="@+id/rl_enable_timeframe"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/seventyfive_height"
                        android:background="@color/whitecolor"
                        android:orientation="vertical">

                        <TextView
                            android:id="@+id/a1"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginTop="@dimen/layout_marginTop_twenty"
                            android:text="@string/enable_diable_timeframetxt"
                            android:textColor="@color/blackcolor"
                            android:textSize="@dimen/sixteenText_size" />

                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_below="@+id/a1"
                            android:text="@string/enable_disable_2"
                            android:textColor="@color/blacktxt"
                            android:textSize="@dimen/fifteenText_size" />


                        <ImageView
                            android:layout_width="@dimen/thirty_width"
                            android:layout_height="@dimen/thirty_height"
                            android:layout_alignParentEnd="true"
                            android:layout_centerVertical="true"
                            android:padding="@dimen/padding_seven"
                            android:src="@drawable/icon_forward"
                            android:tint="@color/blackcolor" />


                        <View
                            android:layout_width="match_parent"
                            android:layout_height="1dp"
                            android:layout_alignParentBottom="true"
                            android:background="@color/gray" />
                    </RelativeLayout>

                    <RelativeLayout
                        android:id="@+id/rl_remove"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/sixty_fiveheight"
                        android:layout_marginTop="@dimen/layout_marginTop_five"
                        android:background="@color/whitecolor"
                        android:orientation="vertical">

                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginTop="@dimen/layout_marginTop_twenty"
                            android:text="@string/removemesurment_txt_settings"
                            android:textColor="@color/blackcolor"
                            android:textSize="@dimen/sixteenText_size" />


                        <LinearLayout
                            android:id="@+id/ll_afterlayout"
                            android:layout_width="wrap_content"
                            android:layout_height="@dimen/thirty_height"
                            android:layout_alignParentEnd="true"
                            android:layout_centerVertical="true"
                            android:layout_marginEnd="@dimen/layout_marginEnd_two"
                            android:gravity="center">

                            <TextView
                                android:id="@+id/after_txt"
                                android:layout_width="wrap_content"
                                android:layout_height="@dimen/thirty_height"
                                android:gravity="center"
                                android:text="@string/please_select_txt_settings"
                                android:textColor="@color/yellowcolor"
                                android:textSize="@dimen/twelbeText_size" />

                            <ImageView
                                android:layout_width="@dimen/twentyfour_width"
                                android:layout_height="@dimen/twentyfour_height"
                                android:padding="@dimen/padding_seven"
                                android:src="@drawable/icon_forward"
                                android:tint="@color/yellowcolor" />

                        </LinearLayout>


                        <View
                            android:layout_width="match_parent"
                            android:layout_height="1dp"
                            android:layout_alignParentBottom="true"
                            android:background="@color/gray" />

                    </RelativeLayout>

                    <RelativeLayout
                        android:id="@+id/flow_settingslayout"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/seventyfive_height"
                        android:background="@color/whitecolor"
                        android:orientation="vertical">

                        <TextView
                            android:id="@+id/f1"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginTop="@dimen/layout_marginTop_twenty"
                            android:text="@string/flow_settings_txt"
                            android:textColor="@color/blackcolor"
                            android:textSize="@dimen/sixteenText_size" />

                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_below="@+id/f1"
                            android:text="@string/set_temping_flow_txt"
                            android:textColor="@color/textcolor"
                            android:textSize="@dimen/fifteenText_size" />


                        <ImageView
                            android:layout_width="@dimen/thirty_width"
                            android:layout_height="@dimen/thirty_height"
                            android:layout_alignParentEnd="true"
                            android:layout_centerVertical="true"
                            android:padding="@dimen/padding_seven"
                            android:src="@drawable/icon_forward"
                            android:tint="@color/blackcolor" />


                        <View
                            android:layout_width="match_parent"
                            android:layout_height="1dp"
                            android:layout_alignParentBottom="true"
                            android:background="@color/gray" />


                    </RelativeLayout>


                </LinearLayout>
            </ScrollView>
        </RelativeLayout>


    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/dialog_box_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/blacktxt"
        android:visibility="gone">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/oneHundred_height"
            android:layout_alignParentBottom="true"
            android:layout_marginStart="@dimen/layout_marginstart_ten"
            android:layout_marginEnd="@dimen/layout_marginEnd_ten"
            android:background="@drawable/white_left_right_cornor_bg">

            <EditText
                android:id="@+id/edit_txtmeasurments"
                android:layout_width="200dp"
                android:layout_height="match_parent"
                android:gravity="center"
                android:hint="@string/enter_days" />

            <TextView
                android:id="@+id/submit"
                android:layout_width="wrap_content"
                android:layout_height="@dimen/thirty_height"
                android:layout_alignParentEnd="true"
                android:layout_centerVertical="true"
                android:layout_marginEnd="20dp"
                android:text="@string/submit_txt_help"
                android:textColor="@color/yellowcolor"
                android:textSize="20sp" />


        </RelativeLayout>
    </RelativeLayout>


</RelativeLayout>