fragment_dashboard.xml 5.29 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.DashboardFrag">

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

        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scrollbars="vertical">

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

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="@string/please_choose_modulehome"
                    android:textColor="@color/textcolor"
                    android:textSize="@dimen/eighteenText_size" />

                <RelativeLayout
                    android:id="@+id/rl_labels_layout"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/oneHundred_height"
                    android:layout_marginTop="@dimen/layout_marginTop_twenty"
                    android:background="@drawable/lables_bg">

                    <ImageView
                        android:layout_width="@dimen/thirty_width"
                        android:layout_height="@dimen/thirty_height"
                        android:layout_centerVertical="true"
                        android:layout_marginStart="@dimen/layout_marginStart_twenty"
                        android:padding="@dimen/padding_three"
                        android:src="@drawable/icon_lables" />


                    <TextView
                        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/labels_txthome"
                        android:textColor="@color/whitecolor"
                        android:textSize="@dimen/fourteenText_size" />

                </RelativeLayout>

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

                    <ImageView
                        android:layout_width="@dimen/thirty_width"
                        android:layout_height="@dimen/thirty_height"
                        android:layout_centerVertical="true"
                        android:layout_marginStart="@dimen/layout_marginStart_twenty"
                        android:padding="@dimen/padding_three"
                        android:src="@drawable/icon_temping" />


                    <TextView
                        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/temping_txthome"
                        android:textColor="@color/whitecolor"
                        android:textSize="@dimen/fourteenText_size" />

                </RelativeLayout>

                <RelativeLayout
                    android:visibility="gone"
                    android:id="@+id/rl_checklistlayout"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/oneHundred_height"
                    android:layout_marginTop="@dimen/layout_marginTop_ten"
                    android:background="@drawable/lables_bg">

                    <ImageView
                        android:layout_width="@dimen/thirty_width"
                        android:layout_height="@dimen/thirty_height"
                        android:layout_centerVertical="true"
                        android:layout_marginStart="@dimen/layout_marginStart_twenty"
                        android:padding="@dimen/padding_three"
                        android:src="@drawable/icon_checklist" />


                    <TextView
                        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/cheklist_txthome"
                        android:textColor="@color/whitecolor"
                        android:textSize="@dimen/fourteenText_size" />

                </RelativeLayout>

            </LinearLayout>

        </ScrollView>
    </RelativeLayout>

</FrameLayout>