| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294 |
- <?xml version="1.0" encoding="utf-8"?>
- <com.usai.ratradefiling.home.HomeHeaderView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/gradient_color"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:layout_alignParentBottom="true"
- android:background="#e6e6e6"
- >
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#00000000"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="5dp"
- android:orientation="horizontal">
- <LinearLayout
- android:id="@+id/new_count_container"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:id="@+id/home_header_new_count_tv"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="0"
- android:textAlignment="center"
- android:textColor="@color/TFWhite"
- android:textSize="17sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="new"
- android:textAlignment="center"
- android:textColor="@color/TFWhite"
- android:textSize="17sp" />
- </LinearLayout>
- <RelativeLayout
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#00000000"
- android:gravity="center_vertical">
- <RelativeLayout
- android:layout_width="1dp"
- android:layout_height="10dp"
- android:background="#ffffff" />
- </RelativeLayout>
- <LinearLayout
- android:id="@+id/processing_count_container"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:id="@+id/home_header_processing_count_tv"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="0"
- android:textAlignment="center"
- android:textColor="@color/TFWhite"
- android:textSize="17sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="processing"
- android:textAlignment="center"
- android:textColor="@color/TFWhite"
- android:textSize="17sp" />
- </LinearLayout>
- <RelativeLayout
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#00000000"
- android:gravity="center_vertical">
- <RelativeLayout
- android:layout_width="1dp"
- android:layout_height="10dp"
- android:background="#ffffff" />
- </RelativeLayout>
- <LinearLayout
- android:id="@+id/finished_count_container"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:id="@+id/home_header_finish_count_tv"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="0"
- android:textAlignment="center"
- android:textColor="@color/TFWhite"
- android:textSize="17sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="finish"
- android:textAlignment="center"
- android:textColor="@color/TFWhite"
- android:textSize="17sp" />
- </LinearLayout>
- </LinearLayout>
- <!-- Action -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5dp"
- android:layout_marginTop="10dp"
- android:layout_marginRight="5dp"
- android:layout_marginBottom="10dp"
- android:background="@drawable/home_header_round_corner"
- android:clipChildren="false"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="5dp"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/home_header_sign_out_iv"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:layout_marginTop="2dp"
- android:scaleType="centerInside"
- android:src="@drawable/action_setting" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="2dp"
- android:layout_marginBottom="2dp"
- android:text="sign out"
- android:textAlignment="center"
- android:textColor="#000000"
- android:textSize="15sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="5dp"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/home_header_setting_iv"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:layout_marginTop="2dp"
- android:scaleType="centerInside"
- android:src="@drawable/action_setting" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="2dp"
- android:layout_marginBottom="2dp"
- android:text="setting"
- android:textAlignment="center"
- android:textColor="#000000"
- android:textSize="15sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="5dp"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/home_header_available_iv"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:layout_marginTop="2dp"
- android:scaleType="centerInside"
- android:src="@drawable/action_setting" />
- <TextView
- android:id="@+id/home_header_available_tv"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="2dp"
- android:layout_marginBottom="2dp"
- android:text="available"
- android:textAlignment="center"
- android:textColor="#000000"
- android:textSize="15sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="5dp"
- android:layout_weight="1"
- android:clipChildren="false"
- android:gravity="center"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:clipChildren="false">
- <ImageView
- android:id="@+id/home_header_message_iv"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="2dp"
- android:scaleType="centerInside"
- android:src="@drawable/action_setting" />
- <ImageView
- android:id="@+id/home_header_message_flag_view"
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:layout_alignTop="@+id/home_header_message_iv"
- android:layout_alignRight="@id/home_header_message_iv"
- android:layout_marginTop="-6dp"
- android:layout_marginRight="-6dp"
- android:background="@drawable/action_setting"
- android:scaleType="centerInside" />
- </RelativeLayout>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="2dp"
- android:layout_marginBottom="2dp"
- android:text="@string/message"
- android:textAlignment="center"
- android:textColor="#000000"
- android:textSize="15sp" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </com.usai.ratradefiling.home.HomeHeaderView>
|