fragment_admin_dashboard.xml 9.61 KB
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
    tools:context=".fragments.dbhome.AdminDashboardFrag">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/whitecolor">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:padding="@dimen/padding_fifteen">

            <TextView
                android:id="@+id/dashboard_txt"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/dashboard_txt"
                android:textColor="@color/textcolor"
                android:textSize="@dimen/thirteenText_size" />

            <LinearLayout
                android:id="@+id/ll_one"
                android:layout_width="match_parent"
                android:layout_height="@dimen/forty_fiveheight"
                android:layout_marginTop="@dimen/layout_marginTop_twenty"
                android:gravity="center"
                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:id="@+id/rl_product_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/ninty_height"
                android:layout_marginTop="@dimen/layout_marginTop_twenty"
                android:background="@drawable/lables_bg">

                <TextView
                    android:id="@+id/total_productxt"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:layout_centerVertical="true"
                    android:layout_marginEnd="@dimen/layout_marginEnd_twenty"
                    android:text="@string/total_product_count_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/sixteenText_size" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginStart="@dimen/layout_marginStart_twenty"
                    android:text="@string/total_product_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/fifteenText_size" />

            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/rl_pro_cat_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/ninty_height"
                android:layout_marginTop="@dimen/layout_marginTop_ten"
                android:background="@drawable/temping_bg">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginStart="@dimen/layout_marginStart_twenty"
                    android:text="@string/total_product_category_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/fifteenText_size" />


                <TextView
                    android:id="@+id/total_pro_cat_txt"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:layout_centerVertical="true"
                    android:layout_marginEnd="@dimen/layout_marginEnd_twenty"
                    android:text="@string/total_product_categoryCount_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/sixteenText_size" />

            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/rl_outlet_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/ninty_height"
                android:layout_marginTop="@dimen/layout_marginTop_ten"
                android:background="@drawable/lables_bg">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginStart="@dimen/layout_marginStart_twenty"
                    android:text="@string/total_outlets_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/fifteenText_size" />


                <TextView
                    android:id="@+id/total_outlet_txt"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:layout_centerVertical="true"
                    android:layout_marginEnd="@dimen/layout_marginEnd_twenty"
                    android:text="@string/total_outlets_count_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/sixteenText_size" />

            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/rl_partner_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/ninty_height"
                android:layout_marginTop="@dimen/layout_marginTop_ten"
                android:background="@drawable/temping_bg">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginStart="@dimen/layout_marginStart_twenty"
                    android:text="@string/total_partner_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/fifteenText_size" />


                <TextView
                    android:id="@+id/total_partner_txt"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:layout_centerVertical="true"
                    android:layout_marginEnd="@dimen/layout_marginEnd_twenty"
                    android:text="@string/total_partner_count_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/sixteenText_size" />

            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/rl_user_layout"
                android:layout_width="match_parent"
                android:layout_height="@dimen/ninty_height"
                android:layout_marginTop="@dimen/layout_marginTop_ten"
                android:background="@drawable/lables_bg">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginStart="@dimen/layout_marginStart_twenty"
                    android:text="@string/total_users_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/fifteenText_size" />


                <TextView
                    android:id="@+id/total_userstxt"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentEnd="true"
                    android:layout_centerVertical="true"
                    android:layout_marginEnd="@dimen/layout_marginEnd_twenty"
                    android:text="@string/total_users_count_txt"
                    android:textColor="@color/whitecolor"
                    android:textSize="@dimen/sixteenText_size" />

            </RelativeLayout>

        </LinearLayout>

    </RelativeLayout>
</FrameLayout>