activity_notification_settings.xml 7.15 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/whitecolor"
    android:orientation="vertical"
    tools:context=".activities.settings.NotificationSettingsActivity">

    <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:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="@string/notification_settings_txt"
            android:textColor="@color/blackcolor"
            android:textSize="@dimen/eighteenText_size"
            android:textStyle="bold" />

        <ImageView
            android:id="@+id/map_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_map"
            android:tint="@color/blackcolor"
            android:visibility="gone" />

        <ImageView
            android:id="@+id/notification_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_bell"
            android:tint="@color/blackcolor" />


    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        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/dashboard_txt"
                    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/setting_txt"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:layout_marginStart="@dimen/layout_marginstart_ten"
                    android:gravity="center"
                    android:text="@string/setting_txthome"
                    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:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:layout_marginStart="@dimen/layout_marginstart_ten"
                    android:gravity="center"
                    android:text="@string/noti_setting_txt"
                    android:textColor="@color/textcolor"
                    android:textSize="@dimen/fifteenText_size" />

            </LinearLayout>
        </HorizontalScrollView>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/layout_marginTop_fifteen"
            android:orientation="horizontal">

            <LinearLayout
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:orientation="vertical">

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

                <TextView
                    android:id="@+id/settings_subnametxt"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/alert_emp_txt_sub_txt"
                    android:textColor="@color/textcolor"
                    android:textSize="@dimen/fourteenText_size" />

            </LinearLayout>

            <RelativeLayout
                android:layout_width="@dimen/seventyfive_width"
                android:layout_height="match_parent"
                android:layout_marginTop="@dimen/layout_marginTop_ten"
                android:gravity="center">


                <Spinner
                    android:id="@+id/id_spinner"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/twenty_eight_height"
                    android:background="@drawable/bg_spinner_circle" />


            </RelativeLayout>


        </LinearLayout>

        <View
            android:layout_width="match_parent"
            android:layout_height="@dimen/one_height"
            android:layout_marginTop="@dimen/layout_marginTop_fifteen"
            android:background="@color/textcolor" />


    </LinearLayout>


</LinearLayout>