first
This commit is contained in:
5
app/src/main/res/color/bottom_nav_ico_selector_color.xml
Normal file
5
app/src/main/res/color/bottom_nav_ico_selector_color.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="?attr/appStyle" android:state_checked="true" />
|
||||
<item android:color="#CDCDCD" />
|
||||
</selector>
|
||||
5
app/src/main/res/color/bottom_nav_selector_color.xml
Normal file
5
app/src/main/res/color/bottom_nav_selector_color.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="?attr/appTextColor" android:state_checked="true" />
|
||||
<item android:color="?attr/appTextSecondColor" />
|
||||
</selector>
|
||||
8
app/src/main/res/drawable/bg_address_tag.xml
Normal file
8
app/src/main/res/drawable/bg_address_tag.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/textColor"
|
||||
android:drawable="@drawable/bg_tag_select"
|
||||
android:state_checked="true"></item>
|
||||
<item android:drawable="@drawable/bg_tag_normal"></item>
|
||||
</selector>
|
||||
|
||||
9
app/src/main/res/drawable/bg_after_sales_step_normal.xml
Normal file
9
app/src/main/res/drawable/bg_after_sales_step_normal.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="@color/white" />
|
||||
<stroke android:width="1dp" android:color="@color/textSecondColor"></stroke>
|
||||
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_after_sales_step_select.xml
Normal file
8
app/src/main/res/drawable/bg_after_sales_step_select.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="@color/appStyle" />
|
||||
|
||||
</shape>
|
||||
16
app/src/main/res/drawable/bg_back_home_button.xml
Normal file
16
app/src/main/res/drawable/bg_back_home_button.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_50FFF5C1" />
|
||||
<corners android:radius="20dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="20dp" />
|
||||
<stroke android:width="1dp" android:color="@color/color_F9D003"></stroke>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
6
app/src/main/res/drawable/bg_bannar.xml
Normal file
6
app/src/main/res/drawable/bg_bannar.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/backgroundColor" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
15
app/src/main/res/drawable/bg_bound_button.xml
Normal file
15
app/src/main/res/drawable/bg_bound_button.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_50F9D003" />
|
||||
<corners android:radius="20dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_FFF5C1" />
|
||||
<corners android:radius="20dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
6
app/src/main/res/drawable/bg_card_age.xml
Normal file
6
app/src/main/res/drawable/bg_card_age.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#EDE7F6" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_card_body_type.xml
Normal file
6
app/src/main/res/drawable/bg_card_body_type.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#F4FCD5" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_card_breed.xml
Normal file
6
app/src/main/res/drawable/bg_card_breed.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FFF3E0" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_card_color.xml
Normal file
6
app/src/main/res/drawable/bg_card_color.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FCD5D5" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_card_height.xml
Normal file
6
app/src/main/res/drawable/bg_card_height.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FFE1E7" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_card_name.xml
Normal file
6
app/src/main/res/drawable/bg_card_name.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#D5FCED" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_card_species.xml
Normal file
6
app/src/main/res/drawable/bg_card_species.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#E1F5FE" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_card_vaccination.xml
Normal file
6
app/src/main/res/drawable/bg_card_vaccination.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FFF6DB" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_card_weight.xml
Normal file
6
app/src/main/res/drawable/bg_card_weight.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FFF8E1" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
21
app/src/main/res/drawable/bg_cz_button.xml
Normal file
21
app/src/main/res/drawable/bg_cz_button.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/app_line" />
|
||||
<corners android:radius="99dp" />
|
||||
<stroke android:width="1dp"
|
||||
android:color="@color/buttonTextColor"
|
||||
></stroke>
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="99dp" />
|
||||
<stroke android:width="1dp"
|
||||
android:color="@color/color_999999"
|
||||
></stroke>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
15
app/src/main/res/drawable/bg_delete_button.xml
Normal file
15
app/src/main/res/drawable/bg_delete_button.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_F83B3B" />
|
||||
<corners android:radius="20dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_F83B3B" />
|
||||
<corners android:radius="20dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
8
app/src/main/res/drawable/bg_express_step.xml
Normal file
8
app/src/main/res/drawable/bg_express_step.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="@color/color_D8D8D8" />
|
||||
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_health_item1.xml
Normal file
6
app/src/main/res/drawable/bg_health_item1.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#D7F6FF" />
|
||||
<corners android:radius="99dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_home_item2.xml
Normal file
6
app/src/main/res/drawable/bg_home_item2.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_D8F7FF" />
|
||||
<corners android:radius="16dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_home_item6.xml
Normal file
6
app/src/main/res/drawable/bg_home_item6.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_FFF3B3" />
|
||||
<corners android:radius="16dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_home_item7.xml
Normal file
6
app/src/main/res/drawable/bg_home_item7.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="16dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_input_message.xml
Normal file
6
app/src/main/res/drawable/bg_input_message.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/backgroundColor" />
|
||||
<corners android:radius="99dp" />
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/bg_item_member.xml
Normal file
9
app/src/main/res/drawable/bg_item_member.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_F9CE79" />
|
||||
<corners
|
||||
android:bottomLeftRadius="16dp"
|
||||
android:bottomRightRadius="16dp"
|
||||
/>
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_item_member_normal.xml
Normal file
8
app/src/main/res/drawable/bg_item_member_normal.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_FEF8F1" />
|
||||
<corners
|
||||
android:radius="16dp"
|
||||
/>
|
||||
</shape>
|
||||
15
app/src/main/res/drawable/bg_item_member_radius_16.xml
Normal file
15
app/src/main/res/drawable/bg_item_member_radius_16.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 圆角半径 -->
|
||||
|
||||
<corners android:radius="16dp"></corners>
|
||||
<!-- 线性渐变 -->
|
||||
<gradient
|
||||
android:startColor="#FBF1D7"
|
||||
android:endColor="#F8E3AF"
|
||||
android:angle="90"
|
||||
android:type="linear" />
|
||||
|
||||
</shape>
|
||||
15
app/src/main/res/drawable/bg_keyboard_key.xml
Normal file
15
app/src/main/res/drawable/bg_keyboard_key.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/app_line" />
|
||||
<corners android:radius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
15
app/src/main/res/drawable/bg_login_button.xml
Normal file
15
app/src/main/res/drawable/bg_login_button.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/buttonSelectColor" />
|
||||
<corners android:radius="99dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/buttonColor" />
|
||||
<corners android:radius="99dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
6
app/src/main/res/drawable/bg_login_input.xml
Normal file
6
app/src/main/res/drawable/bg_login_input.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="50dp" />
|
||||
</shape>
|
||||
15
app/src/main/res/drawable/bg_member_open_button.xml
Normal file
15
app/src/main/res/drawable/bg_member_open_button.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/buttonSelectColor" />
|
||||
<corners android:radius="99dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_1D182A" />
|
||||
<corners android:radius="99dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
18
app/src/main/res/drawable/bg_member_title.xml
Normal file
18
app/src/main/res/drawable/bg_member_title.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 圆角半径 -->
|
||||
<corners
|
||||
android:topLeftRadius="16dp"
|
||||
android:topRightRadius="16dp"
|
||||
/>
|
||||
|
||||
<!-- 线性渐变 -->
|
||||
<gradient
|
||||
android:startColor="#252130"
|
||||
android:endColor="#38353E"
|
||||
android:angle="90"
|
||||
android:type="linear" />
|
||||
|
||||
</shape>
|
||||
11
app/src/main/res/drawable/bg_message_from.xml
Normal file
11
app/src/main/res/drawable/bg_message_from.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_F9D003" />
|
||||
<corners
|
||||
android:topLeftRadius="8dp"
|
||||
android:topRightRadius="8dp"
|
||||
android:bottomLeftRadius="8dp"
|
||||
android:bottomRightRadius="8dp"
|
||||
/>
|
||||
</shape>
|
||||
11
app/src/main/res/drawable/bg_message_to.xml
Normal file
11
app/src/main/res/drawable/bg_message_to.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_F9D003" />
|
||||
<corners
|
||||
android:topLeftRadius="8dp"
|
||||
android:topRightRadius="8dp"
|
||||
android:bottomLeftRadius="8dp"
|
||||
android:bottomRightRadius="8dp"
|
||||
/>
|
||||
</shape>
|
||||
21
app/src/main/res/drawable/bg_no_reason.xml
Normal file
21
app/src/main/res/drawable/bg_no_reason.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/transparent" />
|
||||
<corners android:radius="99dp" />
|
||||
<stroke android:width="1dp"
|
||||
android:color="@color/color_F83B3B"
|
||||
></stroke>
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/transparent" />
|
||||
<corners android:radius="99dp" />
|
||||
<stroke android:width="1dp"
|
||||
android:color="@color/color_F83B3B"
|
||||
></stroke>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
8
app/src/main/res/drawable/bg_number.xml
Normal file
8
app/src/main/res/drawable/bg_number.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="@color/color_F9D003" />
|
||||
|
||||
</shape>
|
||||
15
app/src/main/res/drawable/bg_open_button.xml
Normal file
15
app/src/main/res/drawable/bg_open_button.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 圆角半径 -->
|
||||
<corners android:radius="16dp" />
|
||||
|
||||
<!-- 线性渐变 -->
|
||||
<gradient
|
||||
android:startColor="@color/color_FDDB46"
|
||||
android:endColor="@color/color_FFC300"
|
||||
android:angle="45"
|
||||
android:type="linear" />
|
||||
|
||||
</shape>
|
||||
21
app/src/main/res/drawable/bg_out_login_button.xml
Normal file
21
app/src/main/res/drawable/bg_out_login_button.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/app_line" />
|
||||
<corners android:radius="99dp" />
|
||||
<stroke android:width="1dp"
|
||||
android:color="@color/buttonTextColor"
|
||||
></stroke>
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="99dp" />
|
||||
<stroke android:width="1dp"
|
||||
android:color="@color/buttonTextColor"
|
||||
></stroke>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
9
app/src/main/res/drawable/bg_password.xml
Normal file
9
app/src/main/res/drawable/bg_password.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="4dp" />
|
||||
<stroke android:color="@color/app_line"
|
||||
android:width="1dp"
|
||||
></stroke>
|
||||
</shape>
|
||||
18
app/src/main/res/drawable/bg_points_date.xml
Normal file
18
app/src/main/res/drawable/bg_points_date.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 圆角半径 -->
|
||||
<corners
|
||||
android:topLeftRadius="16dp"
|
||||
android:topRightRadius="16dp"
|
||||
/>
|
||||
|
||||
<!-- 线性渐变 -->
|
||||
<gradient
|
||||
android:startColor="#00000000"
|
||||
android:endColor="#FFFFFF"
|
||||
android:angle="90"
|
||||
android:type="linear" />
|
||||
|
||||
</shape>
|
||||
15
app/src/main/res/drawable/bg_product.xml
Normal file
15
app/src/main/res/drawable/bg_product.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_F9D003" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
10
app/src/main/res/drawable/bg_product_tag.xml
Normal file
10
app/src/main/res/drawable/bg_product_tag.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/textColor"
|
||||
android:drawable="@drawable/bg_tag_select2"
|
||||
android:state_checked="true"></item>
|
||||
<item android:drawable="@drawable/bg_tag_normal"
|
||||
android:color="@color/color_F3F3F3"
|
||||
></item>
|
||||
</selector>
|
||||
|
||||
8
app/src/main/res/drawable/bg_red.xml
Normal file
8
app/src/main/res/drawable/bg_red.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="@color/color_F83B3B" />
|
||||
|
||||
</shape>
|
||||
15
app/src/main/res/drawable/bg_scan_button.xml
Normal file
15
app/src/main/res/drawable/bg_scan_button.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_50FFF5C1" />
|
||||
<corners android:radius="20dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_F9D003" />
|
||||
<corners android:radius="20dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
15
app/src/main/res/drawable/bg_send_code_button_enable.xml
Normal file
15
app/src/main/res/drawable/bg_send_code_button_enable.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/buttonSelectColor" />
|
||||
<corners android:radius="24dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/buttonColor" />
|
||||
<corners android:radius="24dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/buttonSelectColor" />
|
||||
<corners android:radius="48dp" />
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/bg_step.xml
Normal file
9
app/src/main/res/drawable/bg_step.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="@color/white" />
|
||||
<stroke android:width="1dp" android:color="@color/color_FDDB46"></stroke>
|
||||
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/bg_step_3.xml
Normal file
9
app/src/main/res/drawable/bg_step_3.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="@color/white" />
|
||||
<stroke android:width="1dp" android:color="@color/textSecondColor"></stroke>
|
||||
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_tag_normal.xml
Normal file
6
app/src/main/res/drawable/bg_tag_normal.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_EDEDED" />
|
||||
<corners android:radius="99dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_tag_select.xml
Normal file
6
app/src/main/res/drawable/bg_tag_select.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/appStyle" />
|
||||
<corners android:radius="99dp" />
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/bg_tag_select2.xml
Normal file
7
app/src/main/res/drawable/bg_tag_select2.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/appStyle" />
|
||||
<corners android:radius="99dp" />
|
||||
<stroke android:color="@color/textColor" android:width="1dp"></stroke>
|
||||
</shape>
|
||||
18
app/src/main/res/drawable/bg_top_balance.xml
Normal file
18
app/src/main/res/drawable/bg_top_balance.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 圆角半径 -->
|
||||
<corners
|
||||
android:bottomRightRadius="16dp"
|
||||
android:bottomLeftRadius="16dp"
|
||||
/>
|
||||
|
||||
<!-- 线性渐变 -->
|
||||
<gradient
|
||||
android:startColor="@color/color_FFF88D"
|
||||
android:endColor="@color/color_F9D003"
|
||||
android:angle="45"
|
||||
android:type="linear" />
|
||||
|
||||
</shape>
|
||||
14
app/src/main/res/drawable/bg_top_open_member.xml
Normal file
14
app/src/main/res/drawable/bg_top_open_member.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 圆角半径 -->
|
||||
|
||||
<!-- 线性渐变 -->
|
||||
<gradient
|
||||
android:startColor="@color/color_D8D8D8"
|
||||
android:endColor="@color/color_FFF5D5"
|
||||
android:angle="90"
|
||||
android:type="linear" />
|
||||
|
||||
</shape>
|
||||
18
app/src/main/res/drawable/bg_top_points.xml
Normal file
18
app/src/main/res/drawable/bg_top_points.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<!-- 圆角半径 -->
|
||||
<corners
|
||||
android:bottomRightRadius="0dp"
|
||||
android:bottomLeftRadius="0dp"
|
||||
/>
|
||||
|
||||
<!-- 线性渐变 -->
|
||||
<gradient
|
||||
android:startColor="@color/color_FFF88D"
|
||||
android:endColor="@color/color_F9D003"
|
||||
android:angle="45"
|
||||
android:type="linear" />
|
||||
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_black_radius_16.xml
Normal file
6
app/src/main/res/drawable/bg_view_black_radius_16.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#292734" />
|
||||
<corners android:radius="16dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_252132" />
|
||||
<corners android:radius="16dp" />
|
||||
<stroke android:width="1dp" android:color="#767676"></stroke>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_gray_radius_12.xml
Normal file
6
app/src/main/res/drawable/bg_view_gray_radius_12.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#EDEDED" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/backgroundColor" />
|
||||
<corners android:radius="12dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_999999"></stroke>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_gray_radius_16.xml
Normal file
6
app/src/main/res/drawable/bg_view_gray_radius_16.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_F6F6F6" />
|
||||
<corners android:radius="16dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_gray_radius_16_2.xml
Normal file
6
app/src/main/res/drawable/bg_view_gray_radius_16_2.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/color_F0F0F0" />
|
||||
<corners android:radius="16dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_gray_radius_8.xml
Normal file
6
app/src/main/res/drawable/bg_view_gray_radius_8.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/backgroundColor" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
18
app/src/main/res/drawable/bg_view_postion_button.xml
Normal file
18
app/src/main/res/drawable/bg_view_postion_button.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/color_50D8F7FF" />
|
||||
<corners android:radius="12dp" />
|
||||
<stroke android:width="1dp" android:color="@color/color_4DBFDE"></stroke>
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="12dp" />
|
||||
<stroke android:width="1dp" android:color="@color/color_4DBFDE"></stroke>
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
9
app/src/main/res/drawable/bg_view_top_gray_radius_16.xml
Normal file
9
app/src/main/res/drawable/bg_view_top_gray_radius_16.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/backgroundColor" />
|
||||
<corners
|
||||
android:topLeftRadius="16dp"
|
||||
android:topRightRadius="16dp"
|
||||
/>
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners
|
||||
android:topLeftRadius="16dp"
|
||||
android:topRightRadius="16dp"
|
||||
/>
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="8dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/appStyle"></stroke>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_white_radius_12.xml
Normal file
6
app/src/main/res/drawable/bg_view_white_radius_12.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="12dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_999999"></stroke>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_white_radius_16.xml
Normal file
6
app/src/main/res/drawable/bg_view_white_radius_16.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="16dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_white_radius_4.xml
Normal file
6
app/src/main/res/drawable/bg_view_white_radius_4.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="4dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/color_999999"></stroke>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_white_radius_8.xml
Normal file
6
app/src/main/res/drawable/bg_view_white_radius_8.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="8dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/black"></stroke>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_yellow_radius_32.xml
Normal file
6
app/src/main/res/drawable/bg_view_yellow_radius_32.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FDDB46" />
|
||||
<corners android:radius="32dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_view_yellow_radius_4.xml
Normal file
6
app/src/main/res/drawable/bg_view_yellow_radius_4.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FDDB46" />
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
15
app/src/main/res/drawable/bg_welcome_button.xml
Normal file
15
app/src/main/res/drawable/bg_welcome_button.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/buttonSelectColor" />
|
||||
<corners android:radius="28dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/buttonColor" />
|
||||
<corners android:radius="28dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
7
app/src/main/res/drawable/bg_welcome_next_button.xml
Normal file
7
app/src/main/res/drawable/bg_welcome_next_button.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="28dp" />
|
||||
<stroke android:color="@color/appStyleColor" android:width="1dp"></stroke>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_welcome_point_narmal.xml
Normal file
6
app/src/main/res/drawable/bg_welcome_point_narmal.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#E5E5E5" />
|
||||
<corners android:radius="2dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_welcome_point_select.xml
Normal file
6
app/src/main/res/drawable/bg_welcome_point_select.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/appStyleColor" />
|
||||
<corners android:radius="2dp" />
|
||||
</shape>
|
||||
10
app/src/main/res/drawable/ic_add.xml
Normal file
10
app/src/main/res/drawable/ic_add.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="48dp"
|
||||
android:height="48dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="#999999">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
||||
</vector>
|
||||
170
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
170
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
@@ -0,0 +1,170 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillColor="#3DDC84"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
</vector>
|
||||
30
app/src/main/res/drawable/ic_launcher_foreground.xml
Normal file
30
app/src/main/res/drawable/ic_launcher_foreground.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="85.84757"
|
||||
android:endY="92.4963"
|
||||
android:startX="42.9492"
|
||||
android:startY="49.59793"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000" />
|
||||
</vector>
|
||||
BIN
app/src/main/res/font/pingfangscmedium.otf
Normal file
BIN
app/src/main/res/font/pingfangscmedium.otf
Normal file
Binary file not shown.
65
app/src/main/res/layout/action_bar.xml
Normal file
65
app/src/main/res/layout/action_bar.xml
Normal file
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:layout_height="50dp"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/actionBar"
|
||||
android:background="@color/backgroundColor"
|
||||
>
|
||||
<ImageButton
|
||||
android:id="@+id/btnLeft"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="#00000000"
|
||||
android:src="@mipmap/image_back"
|
||||
></ImageButton>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:layout_marginHorizontal="60dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/btnRightText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:gravity="center_vertical"
|
||||
android:background="#00000000"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginRight="16dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btnRight1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="#00000000"
|
||||
android:layout_marginRight="12dp"
|
||||
></ImageButton>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btnRight2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@id/btnRight1"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="#00000000"
|
||||
></ImageButton>
|
||||
</RelativeLayout>
|
||||
205
app/src/main/res/layout/activity_account_cancellation.xml
Normal file
205
app/src/main/res/layout/activity_account_cancellation.xml
Normal file
@@ -0,0 +1,205 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/backgroundColor"
|
||||
>
|
||||
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:padding="20dp"
|
||||
>
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<!-- 警告图标 -->
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_alert"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="30dp" />
|
||||
|
||||
<!-- 注销提示 -->
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="注销绑定的账号"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textStyle="bold"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="30dp" />
|
||||
|
||||
<!-- 注销事项标题 -->
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="申请注销的关联事项:"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/color_666666"
|
||||
android:layout_marginBottom="14dp" />
|
||||
|
||||
<!-- 注销事项列表 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginBottom="40dp">
|
||||
|
||||
<!-- 事项1 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginBottom="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="1. 账号处于安全状态"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginBottom="8dp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textAlert1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="账号当前为正常使用状态, 不存在被盗、违规、禁用等风险"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/color_666666" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 事项2 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginBottom="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2. 账号下的订单已完成"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginBottom="8dp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textAlert2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="当前账号下的交易均已完成, 不存在订单纠纷"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/color_666666" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 事项3 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginBottom="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="3. 账号资产已结清"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginBottom="8dp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textAlert3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="账号下的积分、会员、优惠券、红包等, 均已结清、清空或自愿放弃"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/color_666666" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 事项4 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="4. 账号授权、绑定关系已解除"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginBottom="8dp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textAlert4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="账号已解除与其他第三方平台的授权, 已解绑银行卡等"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/color_666666" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
<!-- 同意勾选 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/btnCheck"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginBottom="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/check"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_check_unselect"
|
||||
android:layout_marginRight="3dp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textAgreement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="我已阅读并同意《用户注销须知》"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/textColor" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 确认注销按钮 -->
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnConfirmCancellation"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="@string/confirm_account_cancellation"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:background="@drawable/bg_login_button"
|
||||
android:layout_marginBottom="20dp" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
251
app/src/main/res/layout/activity_add_address.xml
Normal file
251
app/src/main/res/layout/activity_add_address.xml
Normal file
@@ -0,0 +1,251 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@color/backgroundColor"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:padding="29dp"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_view_white_radius_8"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:paddingVertical="10dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/consignee"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/textName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/consignee"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="12dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:maxLength="10"
|
||||
android:singleLine="true"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:layout_marginTop="14dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/phone_number"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/textPhone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/phone_number"
|
||||
android:paddingRight="12dp"
|
||||
android:paddingLeft="20dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:maxLength="11"
|
||||
android:maxLines="1"
|
||||
android:inputType="number"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/bg_view_white_radius_8"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:paddingVertical="10dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/region"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textRegion"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:hint="@string/region"
|
||||
android:paddingRight="12dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_round_right"></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:layout_marginTop="14dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/detailed_address"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/textDetailsAddress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:hint="@string/detailed_address"
|
||||
android:paddingRight="12dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:maxLength="50"
|
||||
android:maxLines="3"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/bg_view_white_radius_8"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:paddingVertical="10dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/set_as_default"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.suke.widget.SwitchButton
|
||||
android:id="@+id/switchButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="12dp"
|
||||
android:paddingVertical="3dp"
|
||||
app:sb_checked_color="@color/buttonColor"
|
||||
app:sb_uncheck_color="#f4f4f4"
|
||||
app:sb_show_indicator="false"
|
||||
/>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="@string/label"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
|
||||
<com.pinko.flowlayout.TagFlowLayout
|
||||
android:id="@+id/flowlayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:max_select="1"
|
||||
android:layout_marginLeft="12dp"
|
||||
></com.pinko.flowlayout.TagFlowLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnSave"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/bg_login_button"
|
||||
android:text="@string/save"
|
||||
android:textColor="@color/buttonTextColor"></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
479
app/src/main/res/layout/activity_add_pet.xml
Normal file
479
app/src/main/res/layout/activity_add_pet.xml
Normal file
@@ -0,0 +1,479 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/action_bar"></include>
|
||||
<!-- 标题栏 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/pet_info"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="17sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/tv_ai_recognize"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ai_recognize_pet"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<!-- 表单列表 -->
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- 名称 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/name"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/et_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@null"
|
||||
android:hint="@string/input_name"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textColor="@color/textColor"
|
||||
android:maxLength="8"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<!-- 物种 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/ll_species"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/species"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/tv_species"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/select_species"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/btnItem1"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/image_round_right" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 品种 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/breed"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/et_breed"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@null"
|
||||
android:hint="@string/input_breed"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textColor="@color/textColor"
|
||||
android:maxLength="10"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<!-- 年龄 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/age"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/et_age"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@null"
|
||||
android:hint="@string/input_age"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:inputType="numberDecimal"
|
||||
android:maxLength="8"
|
||||
/>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<!-- 身高 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/height"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/et_height"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@null"
|
||||
android:hint="@string/input_height"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:inputType="numberDecimal"
|
||||
android:maxLength="8"
|
||||
/>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 体重 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/weight"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/et_weight"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@null"
|
||||
android:hint="@string/input_weight"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:inputType="numberDecimal"
|
||||
android:maxLength="8"
|
||||
/>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 体型 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/ll_body_type"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/body_type"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/tv_body_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/select_body_type"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/btnItem2"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/image_round_right" />
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 颜色 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/ll_color"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/color"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/tv_color"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/select_color"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/btnItem3"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/image_round_right" />
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 防疫针 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/ll_vaccination"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/vaccination"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/tv_vaccination"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/select_vaccination"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/btnItem4"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/image_round_right" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<!-- 上传照片 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingVertical="16dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/upload_photos"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textPhotoNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0/3"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 图片上传区域 -->
|
||||
<GridView
|
||||
android:id="@+id/girdView"
|
||||
android:layout_width="226dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:numColumns="3"
|
||||
android:horizontalSpacing="8dp">
|
||||
</GridView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"></View>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
<!-- 提交按钮 -->
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btn_submit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:background="@drawable/bg_login_button"
|
||||
android:text="@string/save"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:textColor="@color/buttonTextColor" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
41
app/src/main/res/layout/activity_address.xml
Normal file
41
app/src/main/res/layout/activity_address.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/backgroundColor"
|
||||
|
||||
>
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="29dp"
|
||||
android:paddingVertical="10dp"
|
||||
>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
></androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnAdd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:text="@string/add_address"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="@color/buttonTextColor"
|
||||
android:background="@drawable/bg_login_button"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
308
app/src/main/res/layout/activity_after_sales.xml
Normal file
308
app/src/main/res/layout/activity_after_sales.xml
Normal file
@@ -0,0 +1,308 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
android:background="@color/backgroundColor"
|
||||
>
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="12dp"
|
||||
android:background="@drawable/bg_view_white_radius_8"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textShopName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:text=""
|
||||
android:textStyle="bold"
|
||||
android:fontFamily="@font/pingfangscmedium"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textStatus"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
android:text="待付款"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginTop="16dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKRoundImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
app:topLeftRadius="8dp"
|
||||
app:topRightRadius="8dp"
|
||||
android:src="@mipmap/image_product"
|
||||
android:scaleType="centerCrop"
|
||||
></com.ck.ckcollar.app.widget.CKRoundImageView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textThirdColor"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="鲜肉烘培猫粮"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textDesc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/desc_text"
|
||||
android:textColor="@color/textThirdColor"
|
||||
android:layout_marginVertical="3dp"
|
||||
android:textSize="12sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textNoReason"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/textThirdColor"
|
||||
android:text="@string/no_reason_text"
|
||||
android:background="@drawable/bg_cz_button"
|
||||
android:paddingHorizontal="5dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="right"
|
||||
android:paddingLeft="10dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textPrice"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="¥30.00"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textCount"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="x1"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginVertical="2dp"
|
||||
android:textSize="12sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="right|center_vertical"
|
||||
android:layout_marginTop="8dp"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textPayment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/pending_payment3"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"
|
||||
android:fontFamily="@font/pingfangscmedium"
|
||||
android:textStyle="bold"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textMoney"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
android:text="¥42345"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:fontFamily="@font/pingfangscmedium"
|
||||
android:textStyle="bold"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="12dp"
|
||||
android:background="@drawable/bg_view_white_radius_8"
|
||||
android:layout_marginTop="10dp"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentRefund"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingRight="12dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textStyle="bold"
|
||||
android:fontFamily="@font/pingfangscmedium"
|
||||
android:text="@string/refund"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/refund_desc"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginTop="3dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_round_right"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentRefundAmount"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginTop="16dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingRight="12dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textStyle="bold"
|
||||
android:fontFamily="@font/pingfangscmedium"
|
||||
android:text="@string/return_refund"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/return_refund_desc"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginTop="3dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_round_right"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentExchange"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginTop="16dp"
|
||||
android:visibility="gone"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingRight="12dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textStyle="bold"
|
||||
android:fontFamily="@font/pingfangscmedium"
|
||||
android:text="@string/exchange"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/exchange_desc"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginTop="3dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_round_right"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
507
app/src/main/res/layout/activity_after_sales_progress.xml
Normal file
507
app/src/main/res/layout/activity_after_sales_progress.xml
Normal file
@@ -0,0 +1,507 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/backgroundColor"
|
||||
>
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
>
|
||||
<!-- 订单信息 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
android:background="@drawable/bg_view_white_radius_4"
|
||||
android:layout_marginTop="10dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/order_number_colon"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textOrderNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textSecondColor" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginTop="12dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/refund_amount_colon"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textAmount"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right|center_vertical"
|
||||
android:text=""
|
||||
android:textSize="16sp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:textColor="@color/textColor" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/bg_view_white_radius_4"
|
||||
android:layout_marginTop="12dp"
|
||||
android:paddingTop="12dp"
|
||||
>
|
||||
<!-- 进度流程 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="10dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center">
|
||||
|
||||
<!-- 步骤1 -->
|
||||
<com.ck.ckcollar.app.widget.CKRelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textStep1"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:text="1"
|
||||
android:gravity="center"
|
||||
android:layout_marginRight="24dp"
|
||||
android:background="@drawable/bg_after_sales_step_normal" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textLab1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/initiate_application"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/textStep1"
|
||||
|
||||
/>
|
||||
|
||||
<!-- 连接线1 -->
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/line1"
|
||||
android:layout_toRightOf="@id/textStep1"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:background="@color/textSecondColor" />
|
||||
</com.ck.ckcollar.app.widget.CKRelativeLayout>
|
||||
|
||||
|
||||
|
||||
<!-- 步骤2 -->
|
||||
<com.ck.ckcollar.app.widget.CKRelativeLayout
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/content1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/line2"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:background="@color/textSecondColor" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textStep2"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:text="2"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_after_sales_step_normal" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/line3"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:background="@color/textSecondColor" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textLab2"
|
||||
android:layout_below="@id/content1"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/merchant_review"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:layout_marginTop="8dp" />
|
||||
<!-- 连接线2 -->
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2dp"
|
||||
|
||||
android:layout_weight="1" />
|
||||
</com.ck.ckcollar.app.widget.CKRelativeLayout>
|
||||
|
||||
|
||||
|
||||
<!-- 步骤3 -->
|
||||
<com.ck.ckcollar.app.widget.CKRelativeLayout
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/content2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/line4"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:background="@color/textSecondColor" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textStep3"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:text="3"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_after_sales_step_normal" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/line5"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:background="@color/textSecondColor" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textLab3"
|
||||
android:layout_below="@id/content2"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/merchant_receive_goods"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:layout_marginTop="8dp" />
|
||||
<!-- 连接线2 -->
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKRelativeLayout>
|
||||
|
||||
|
||||
<!-- 步骤4 -->
|
||||
<com.ck.ckcollar.app.widget.CKRelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/line6"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:background="@color/textSecondColor"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textStep4"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:text="4"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_after_sales_step_normal"
|
||||
android:layout_marginRight="50dp"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textLab4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/after_sales_completed"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/textStep4"
|
||||
|
||||
/>
|
||||
|
||||
<!-- 连接线1 -->
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKRelativeLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<!-- 售后详情 -->
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
android:layout_marginTop="10dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="36dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/initiate_time_label"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textDate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginLeft="12dp"
|
||||
/>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="36dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/after_sales_type_label"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textType"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginLeft="10dp" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="36dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/refund_reason_label"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textReason"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="36dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/refund_description_label"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textMark"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="36dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/refund_amount_label"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textMoney"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="36dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/apply_status"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textApplyStatus"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentNote"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="36dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:visibility="gone"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/shop_note"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textNote"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
26
app/src/main/res/layout/activity_agreement.xml
Normal file
26
app/src/main/res/layout/activity_agreement.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
android:background="@color/backgroundColor"
|
||||
>
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/webView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"
|
||||
android:padding="20dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
201
app/src/main/res/layout/activity_balance.xml
Normal file
201
app/src/main/res/layout/activity_balance.xml
Normal file
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/backgroundColor"
|
||||
android:gravity="center_horizontal"
|
||||
>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:background="@drawable/bg_top_balance"
|
||||
android:layout_height="260dp">
|
||||
</View>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentTop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="186dp"
|
||||
android:layout_marginHorizontal="20dp"
|
||||
android:layout_marginTop="-160dp"
|
||||
android:padding="20dp"
|
||||
android:background="@drawable/bg_view_white_radius_12"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:text="@string/balance_with_unit"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textBalance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0.00"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="38sp"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginTop="10dp"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="24dp"
|
||||
android:paddingBottom="2dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnRecharge"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/recharge"
|
||||
android:background="@drawable/bg_cz_button"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
<View
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="0dp"></View>
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnWithdraw"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/withdraw"
|
||||
android:background="@drawable/bg_login_button"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="30dp"
|
||||
android:paddingHorizontal="20dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/btnAll"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:text="@string/all_records"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@color/textColor"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/imageIntl1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_record_bottom_intl"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:gravity="center_horizontal"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/btnIncome"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:text="@string/income_records"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/imageIntl2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_record_bottom_intl"
|
||||
android:visibility="gone"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:gravity="center_horizontal"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/btnOut"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:text="@string/expense_records"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textSecondColor"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/imageIntl3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_record_bottom_intl"
|
||||
android:visibility="gone"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/bg_view_white_radius_12"
|
||||
android:layout_marginHorizontal="20dp"
|
||||
android:layout_marginVertical="12dp"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/btnDate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="18dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textDate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:text="2026年6月"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_down"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"></androidx.recyclerview.widget.RecyclerView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
20
app/src/main/res/layout/activity_bluetooth.xml
Normal file
20
app/src/main/res/layout/activity_bluetooth.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
>
|
||||
<Button
|
||||
android:id="@+id/btnScan"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:text="扫描"
|
||||
></Button>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
></androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
40
app/src/main/res/layout/activity_bound_success.xml
Normal file
40
app/src/main/res/layout/activity_bound_success.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
android:background="@color/backgroundColor"
|
||||
>
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/connect_device"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold"
|
||||
android:paddingLeft="20dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="175dp"
|
||||
android:src="@mipmap/image_success"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/btnGoHome"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/connect_success"
|
||||
android:textColor="@color/textColor"
|
||||
android:gravity="center"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
128
app/src/main/res/layout/activity_customer.xml
Normal file
128
app/src/main/res/layout/activity_customer.xml
Normal file
@@ -0,0 +1,128 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
android:background="@color/backgroundColor"
|
||||
>
|
||||
<include layout="@layout/action_bar"></include>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
></androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/btnKeyboard"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_audio"
|
||||
android:visibility="gone"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editMessage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="34dp"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"
|
||||
android:textColorHint="@color/textColor"
|
||||
android:hint="@string/please_input_message"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:paddingVertical="5dp"
|
||||
android:layout_marginVertical="10dp"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:background="@drawable/bg_input_message"
|
||||
android:imeOptions="actionSend"
|
||||
android:inputType="text"
|
||||
android:maxLength="100"
|
||||
></com.ck.ckcollar.app.widget.CKEditView>
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/btnSmile"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_smile"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/btnMore"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_more"
|
||||
android:layout_marginLeft="12dp"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentBottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:paddingVertical="12dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/white"
|
||||
android:visibility="gone"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/conetnt1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_cus_camera"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/camera"
|
||||
android:layout_marginTop="10dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/conetnt2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_marginLeft="16dp"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_cus_photo"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/photo"
|
||||
android:layout_marginTop="10dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
83
app/src/main/res/layout/activity_demo.xml
Normal file
83
app/src/main/res/layout/activity_demo.xml
Normal file
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/loginImage"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"
|
||||
android:src="@mipmap/ic_launcher"
|
||||
>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKImageView>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:tag="skin:textSecoendText:textColor"
|
||||
android:textColor="@color/textColor"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnLogin"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="登录"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnWifi"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="WIFI"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnBlueTooth"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="蓝牙"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnMap"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="地图"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnWX"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="微信"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnScan"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="扫一扫"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnHome"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="首页"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnCamera"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="拍照"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnPhoto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="相册"
|
||||
></com.ck.ckcollar.app.widget.CKButton>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
87
app/src/main/res/layout/activity_deposit.xml
Normal file
87
app/src/main/res/layout/activity_deposit.xml
Normal file
@@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal">
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentEditPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="14dp"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/rental_item"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/pet_smart_collar"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentFindPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/deposit"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textAmount"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textSecondColor"
|
||||
android:textSize="16sp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
></View>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnReturn"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/bg_login_button"
|
||||
android:text="@string/cancel_credit_auth_refund_deposit"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:textColor="@color/buttonTextColor"></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
108
app/src/main/res/layout/activity_edit_password.xml
Normal file
108
app/src/main/res/layout/activity_edit_password.xml
Normal file
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/backgroundColor"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:padding="20dp"
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/contentOldPwd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@drawable/bg_login_input"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editOldPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="#00000000"
|
||||
android:hint="@string/input_old_password"
|
||||
android:inputType="textPassword"
|
||||
android:paddingLeft="10dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:maxLength="30"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/bg_login_input"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editNewPwd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="#00000000"
|
||||
android:hint="@string/input_new_password"
|
||||
android:inputType="textPassword"
|
||||
android:paddingLeft="10dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:maxLength="30"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/bg_login_input"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editNewPwdConfirm"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="#00000000"
|
||||
android:hint="@string/confirm_input_new_password"
|
||||
android:inputType="textPassword"
|
||||
android:paddingLeft="10dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:maxLength="30"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
</LinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnReset"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/bg_login_button"
|
||||
android:text="@string/confirm_reset_password"
|
||||
android:textColor="@color/buttonTextColor"></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
107
app/src/main/res/layout/activity_edit_pay_password.xml
Normal file
107
app/src/main/res/layout/activity_edit_pay_password.xml
Normal file
@@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/backgroundColor"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="20dp"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:background="@drawable/bg_login_input"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editOldPassword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="#00000000"
|
||||
android:hint="@string/input_old_password"
|
||||
android:inputType="numberPassword"
|
||||
android:maxLength="6"
|
||||
android:paddingLeft="10dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/bg_login_input"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editNewPwd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="#00000000"
|
||||
android:hint="@string/input_new_password"
|
||||
android:inputType="numberPassword"
|
||||
android:maxLength="6"
|
||||
android:paddingLeft="10dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/bg_login_input"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="20dp">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editNewPwdConfirm"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="#00000000"
|
||||
android:hint="@string/confirm_input_new_password"
|
||||
android:inputType="numberPassword"
|
||||
android:maxLength="6"
|
||||
android:paddingLeft="10dp"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:textSize="14sp"></com.ck.ckcollar.app.widget.CKEditView>
|
||||
</LinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnReset"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/bg_login_button"
|
||||
android:text="@string/confirm_reset_password"
|
||||
android:textColor="@color/buttonTextColor"></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
94
app/src/main/res/layout/activity_feed_back.xml
Normal file
94
app/src/main/res/layout/activity_feed_back.xml
Normal file
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/backgroundColor"
|
||||
android:gravity="center_horizontal">
|
||||
<include layout="@layout/action_bar"></include>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginTop="18dp"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/please_fill_feedback"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:text="*"
|
||||
android:textColor="@color/color_F83B3B"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editConten"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:minHeight="110dp"
|
||||
android:padding="10dp"
|
||||
android:gravity="left|top"
|
||||
android:textSize="14sp"
|
||||
android:hint="@string/please_input_complaint"
|
||||
android:textColorHint="@color/textSecondColor"
|
||||
android:background="@drawable/bg_view_gray_radius_16_2"
|
||||
android:maxLength="100"
|
||||
></com.ck.ckcollar.app.widget.CKEditView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/relevant_credentials"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginTop="18dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
<GridView
|
||||
android:id="@+id/girdView"
|
||||
android:layout_width="256dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:numColumns="3"
|
||||
android:columnWidth="80dp"
|
||||
android:horizontalSpacing="8dp"
|
||||
></GridView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnComplete"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:background="@drawable/bg_login_button"
|
||||
android:text="@string/submit"
|
||||
android:textColor="@color/buttonTextColor"></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user