fragment_settings.xml 3.97 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"
    android:paddingStart="@dimen/padding_start_ten"
    android:paddingEnd="@dimen/padding_end_ten"
    tools:context=".fragments.SettingsFrag">

    <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: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/textcolor"
                android:textSize="@dimen/fifteenText_size" />

        </LinearLayout>
    </HorizontalScrollView>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/sixty_height"
        android:layout_marginTop="@dimen/layout_marginTop_five"
        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
            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>


    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/settings_recylerview"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

        </androidx.recyclerview.widget.RecyclerView>


    </RelativeLayout>


</LinearLayout>