|
|
@@ -169,236 +169,245 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/point_info_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginHorizontal="20dp"
|
|
|
- android:layout_marginVertical="10dp"
|
|
|
- android:background="@drawable/home_card_bg"
|
|
|
- android:gravity="center_vertical"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/point_info_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginHorizontal="20dp"
|
|
|
+ android:layout_marginVertical="10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="@string/point_info_title"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/select_point_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:background="@drawable/common_dialog_btn"
|
|
|
- android:paddingHorizontal="20dp"
|
|
|
- android:text="@string/select"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="20sp" />
|
|
|
- </LinearLayout>
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:background="@color/black" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/point_info_title"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/select_point_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:text="@string/select"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/point_rv"
|
|
|
+ <View
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="240dp"
|
|
|
- android:paddingBottom="10dp" />
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/no_selected_point_layout"
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="@drawable/card_white_bg"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="80dp"
|
|
|
- android:src="@drawable/icon_add_box" />
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/point_rv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="240dp"
|
|
|
+ android:paddingBottom="10dp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/no_selected_point_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/card_white_bg"
|
|
|
android:gravity="center"
|
|
|
- android:paddingHorizontal="20dp"
|
|
|
- android:paddingVertical="10dp"
|
|
|
- android:text="@string/please_must_select_at_least_one_point"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="24sp" />
|
|
|
- </LinearLayout>
|
|
|
- </FrameLayout>
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:src="@drawable/icon_add_box" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/member_info_layout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginHorizontal="20dp"
|
|
|
- android:layout_marginVertical="10dp"
|
|
|
- android:background="@drawable/home_card_bg"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="vertical">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:paddingVertical="10dp"
|
|
|
+ android:text="@string/please_must_select_at_least_one_point"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="24sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/member_info_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginHorizontal="20dp"
|
|
|
+ android:layout_marginVertical="10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="@string/member_info_title"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="24sp" />
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/select_member_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:background="@drawable/common_dialog_btn"
|
|
|
- android:paddingHorizontal="20dp"
|
|
|
- android:text="@string/select"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="20sp" />
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/member_info_title"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:background="@color/black" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/select_member_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:text="@string/select"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@drawable/home_card_bg"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingHorizontal="20dp"
|
|
|
- android:paddingVertical="10dp"
|
|
|
- android:text="@string/locker"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="24sp" />
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:background="@color/black" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:paddingVertical="10dp"
|
|
|
+ android:text="@string/locker"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/black" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:src="@mipmap/icon_data_manage_menu_user_manage"
|
|
|
+ android:tint="@color/black" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/locker_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/select_colocker_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingBottom="10dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="50dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:src="@mipmap/icon_data_manage_menu_user_manage"
|
|
|
- android:tint="@color/black" />
|
|
|
-
|
|
|
<TextView
|
|
|
- android:id="@+id/locker_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:paddingVertical="10dp"
|
|
|
+ android:text="@string/colocker"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="20sp" />
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/black" />
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/colocker_rv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/select_colocker_layout"
|
|
|
+ android:id="@+id/no_selected_member_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/home_card_bg"
|
|
|
+ android:background="@drawable/card_white_bg"
|
|
|
+ android:gravity="center"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:src="@drawable/icon_add_box" />
|
|
|
+
|
|
|
<TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center"
|
|
|
android:paddingHorizontal="20dp"
|
|
|
android:paddingVertical="10dp"
|
|
|
- android:text="@string/colocker"
|
|
|
+ android:text="@string/please_select_member"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="24sp" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:background="@color/black" />
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/colocker_rv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent" />
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/no_selected_member_layout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="@drawable/card_white_bg"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="80dp"
|
|
|
- android:src="@drawable/icon_add_box" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingHorizontal="20dp"
|
|
|
- android:paddingVertical="10dp"
|
|
|
- android:text="@string/please_select_member"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="24sp" />
|
|
|
- </LinearLayout>
|
|
|
- </FrameLayout>
|
|
|
+ </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
@@ -418,7 +427,7 @@
|
|
|
|
|
|
<View
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="1dp"
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<TextView
|