‘我的’布局完善
This commit is contained in:
7
app/src/main/res/drawable/underline.xml
Normal file
7
app/src/main/res/drawable/underline.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="#fff"/>
|
||||
<stroke android:width="2dp"
|
||||
android:color="#FF9800"/>
|
||||
</shape>
|
||||
@@ -61,7 +61,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="15dp"
|
||||
android:text="企鹅汇图"
|
||||
android:text="地图寻宝"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
@@ -102,7 +102,7 @@
|
||||
style="@style/main_about_text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="关于企鹅汇图" />
|
||||
android:text="关于地图寻宝" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -131,7 +131,7 @@
|
||||
style="@style/main_about_text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="企鹅汇图服务协议条款" />
|
||||
android:text="地图寻宝服务协议条款" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -160,7 +160,7 @@
|
||||
style="@style/main_about_text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="关于企鹅汇图" />
|
||||
android:text="地图寻宝隐私保护指引" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
@@ -95,11 +95,12 @@
|
||||
android:textColor="#333"
|
||||
android:text="持 卡 人:" />
|
||||
|
||||
<EditText
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:background="@null"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="持卡人姓名" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
@@ -180,7 +181,6 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="绑定银行卡"
|
||||
android:textColor="#fff"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -1,6 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
||||
<LinearLayout
|
||||
android:id="@+id/rl_grade"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#1BA5F1"
|
||||
android:paddingTop="@dimen/top_pind_sp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_grade"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/icon_arrow"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_grade"
|
||||
android:layout_width="wrap_content"
|
||||
style="@style/text_style_toolbar_title"
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:text="我的等级" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -66,4 +66,5 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linearLayout2" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -31,10 +31,9 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_heard"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="20dp"
|
||||
android:background="@drawable/icon_task_specification"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
@@ -128,9 +127,9 @@
|
||||
android:id="@+id/linearLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="40dp"
|
||||
android:layout_marginLeft="35dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="40dp"
|
||||
android:layout_marginRight="35dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@@ -143,6 +142,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="18dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
@@ -172,19 +172,31 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:gravity="center_vertical">
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="我的特权"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
style="@style/main_text_style" />
|
||||
<TextView
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="30dp"
|
||||
android:text="new"
|
||||
android:gravity="center"
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/main_outLogin_style"
|
||||
android:layout_toLeftOf="@id/image_view"
|
||||
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/image_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/ic_baseline_arrow_forward"
|
||||
android:gravity="center"
|
||||
android:textSize="18sp" />
|
||||
@@ -207,7 +219,15 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="地图下载"
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/main_text_style" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/ic_baseline_arrow_forward"
|
||||
android:textSize="18sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -227,7 +247,15 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="常见问题"
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/main_text_style"/>
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/ic_baseline_arrow_forward"
|
||||
android:textSize="18sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -247,7 +275,15 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="联系我们"
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/main_text_style" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/ic_baseline_arrow_forward"
|
||||
android:textSize="18sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -267,7 +303,15 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="设置"
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/main_text_style" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/ic_baseline_arrow_forward"
|
||||
android:textSize="18sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -282,12 +326,19 @@
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="关于"
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/main_text_style" />
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/ic_baseline_arrow_forward"
|
||||
android:textSize="18sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
|
||||
@@ -1,6 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
||||
<LinearLayout
|
||||
android:id="@+id/rl_privilege"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#1BA5F1"
|
||||
android:paddingTop="@dimen/top_pind_sp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_privilege"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/icon_arrow"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_privilege"
|
||||
android:layout_width="wrap_content"
|
||||
style="@style/text_style_toolbar_title"
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:text="我的等级" />
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -31,7 +31,6 @@
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:gravity="center"
|
||||
android:text="实名认证"
|
||||
|
||||
android:textColor="#fff"
|
||||
android:textSize="17sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#1BA5F1"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="@dimen/top_pind_sp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
@@ -21,12 +21,13 @@
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/icon_arrow" />
|
||||
android:src="@drawable/icon_arrow"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_user"
|
||||
style="@style/text_style_toolbar_title"
|
||||
android:layout_width="wrap_content"
|
||||
style="@style/text_style_toolbar_title"
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:text="用户资料" />
|
||||
</LinearLayout>
|
||||
@@ -36,10 +37,10 @@
|
||||
style="@style/text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="20dp"
|
||||
android:text="账号信息"
|
||||
app:layout_constraintBottom_toTopOf="@id/linearLayout"
|
||||
android:layout_margin="20dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/linearLayout"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_user" />
|
||||
|
||||
<LinearLayout
|
||||
@@ -62,13 +63,12 @@
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
style="@style/user_text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="实名认证"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="实名认证" />
|
||||
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/user_text_style" />
|
||||
<Button
|
||||
android:id="@+id/btn_attestation"
|
||||
style="@style/user_style"
|
||||
@@ -93,23 +93,24 @@
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
style="@style/user_text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="收款信息"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="收款信息" />
|
||||
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/user_text_style"
|
||||
/>
|
||||
<Button
|
||||
android:id="@+id/btn_gathering"
|
||||
style="@style/user_style"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="去绑定"
|
||||
android:textColor="#fff" />
|
||||
android:textColor="#fff"
|
||||
style="@style/user_style"
|
||||
android:layout_centerVertical="true"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -118,6 +119,7 @@
|
||||
android:background="#F1F0F0" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_region"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
@@ -125,21 +127,22 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_region"
|
||||
style="@style/user_text_style"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="所在地区*"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="所在地区*" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_region"
|
||||
style="@style/user_hint_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/user_text_style"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/region"
|
||||
android:layout_toRightOf="@id/tv_region"
|
||||
android:hint="请选择所在区域" />
|
||||
android:layout_width="wrap_content"
|
||||
style="@style/user_hint_style"
|
||||
android:layout_centerVertical="true"
|
||||
android:hint="请选择所在区域"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -155,21 +158,22 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_number"
|
||||
style="@style/user_text_style"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="手机号码*"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="手机号码*" />
|
||||
|
||||
style="@style/user_text_style"
|
||||
/>
|
||||
<EditText
|
||||
android:id="@+id/et_phone"
|
||||
style="@style/user_hint_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toRightOf="@id/tv_number"
|
||||
android:hint="请输入手机号码" />
|
||||
android:layout_width="wrap_content"
|
||||
style="@style/user_hint_style"
|
||||
android:layout_centerVertical="true"
|
||||
android:hint="请输入手机号码"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -185,21 +189,22 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_qq"
|
||||
style="@style/user_text_style"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="QQ号码*"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="QQ号码*" />
|
||||
|
||||
style="@style/user_text_style"
|
||||
/>
|
||||
<EditText
|
||||
android:id="@+id/et_qq"
|
||||
style="@style/user_hint_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:id="@+id/edit_qq"
|
||||
android:layout_toRightOf="@id/tv_qq"
|
||||
android:hint="请输入QQ号码" />
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:hint="请输入QQ号码 "
|
||||
style="@style/user_hint_style"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -215,21 +220,22 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_mailbox"
|
||||
style="@style/user_text_style"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="电子邮箱*"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="电子邮箱*" />
|
||||
|
||||
style="@style/user_text_style"
|
||||
/>
|
||||
<EditText
|
||||
android:id="@+id/et_mailbox"
|
||||
style="@style/user_hint_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:id="@+id/edit_mailbox"
|
||||
android:layout_toRightOf="@id/tv_mailbox"
|
||||
android:hint="请输入邮箱地址" />
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:hint="请输入邮箱地址"
|
||||
style="@style/user_hint_style"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -243,35 +249,36 @@
|
||||
android:layout_weight="1">
|
||||
|
||||
<TextView
|
||||
style="@style/user_text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="微信"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="微信" />
|
||||
|
||||
android:layout_centerVertical="true"
|
||||
style="@style/user_text_style"
|
||||
/>
|
||||
<Button
|
||||
style="@style/user_style"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="去绑定"
|
||||
android:textColor="#fff" />
|
||||
android:textColor="#fff"
|
||||
style="@style/user_style"
|
||||
android:layout_centerVertical="true"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#F1F0F0" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/user_save"
|
||||
style="@style/user_data_style"
|
||||
android:id="@+id/btn_save"
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="50dp"
|
||||
android:text="保存" />
|
||||
android:text="保存"
|
||||
style="@style/main_style"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -47,7 +47,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_margin="20dp"
|
||||
android:background="@mipmap/white_bg"
|
||||
android:background="#fff"
|
||||
app:layout_constraintEnd_toEndOf="@+id/linear_hint"
|
||||
app:layout_constraintStart_toStartOf="@+id/linear_hint"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rl_withdraw">
|
||||
@@ -56,7 +56,8 @@
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:text="可提现(元)"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
@@ -65,7 +66,7 @@
|
||||
android:id="@+id/tv_unit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="0.0"
|
||||
android:textColor="#333"
|
||||
android:textSize="45sp"
|
||||
@@ -95,6 +96,7 @@
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_text" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_already"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0.0"
|
||||
@@ -116,6 +118,7 @@
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_already_withdraw"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_text" />
|
||||
<TextView
|
||||
android:id="@+id/tv_total"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0.0"
|
||||
@@ -132,9 +135,11 @@
|
||||
android:id="@+id/relativeLayout2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="20dp"
|
||||
android:layout_margin="25dp"
|
||||
android:layout_marginTop="100dp"
|
||||
android:gravity="center_vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linear_layout">
|
||||
|
||||
@@ -191,7 +196,7 @@
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="20dp"
|
||||
android:text="立即提现"
|
||||
style="@style/user_data_style"
|
||||
style="@style/main_style"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/checkBox" />
|
||||
@@ -213,10 +218,11 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:background="#fff"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_infuse">
|
||||
@@ -225,33 +231,34 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_poi"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="2dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/icon_task_specification"
|
||||
/>
|
||||
android:layout_margin="2dp"
|
||||
android:background="@drawable/icon_task_specification" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="POI"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_toRightOf="@id/image_poi"
|
||||
android:text="POI"
|
||||
android:textColor="#333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:text="+¥0.0"
|
||||
android:textColor="#333"
|
||||
android:textSize="18sp"
|
||||
/>
|
||||
android:textSize="18sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
@@ -267,10 +274,10 @@
|
||||
android:id="@+id/image_way"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="2dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/icon_task_specification"
|
||||
/>
|
||||
android:layout_margin="2dp"
|
||||
android:background="@drawable/icon_task_specification" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
37
app/src/main/res/layout/withdrawal_record_fragment.xml
Normal file
37
app/src/main/res/layout/withdrawal_record_fragment.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
||||
<LinearLayout
|
||||
android:id="@+id/rl_withdraw"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/colorPrimaryBlue"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="@dimen/top_pind_sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_withdraw"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@drawable/ic_baseline_arrow" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_withdraw"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_toRightOf="@id/iv_find_task"
|
||||
android:gravity="center"
|
||||
android:text="提现记录"
|
||||
android:textColor="#fff"
|
||||
android:textSize="17sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user