|
|
@@ -1,294 +0,0 @@
|
|
|
-<?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>
|