first
This commit is contained in:
193
app/src/main/res/layout/activity_withdraw.xml
Normal file
193
app/src/main/res/layout/activity_withdraw.xml
Normal file
@@ -0,0 +1,193 @@
|
||||
<?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"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="@drawable/bg_top_balance"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:layout_height="260dp">
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textThirdColor"
|
||||
android:layout_marginTop="120dp"
|
||||
android:text="@string/withdrawable_amount"
|
||||
></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:text="0.0"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="38sp"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginTop="10dp"
|
||||
/>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentTop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="20dp"
|
||||
android:layout_marginTop="-30dp"
|
||||
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="16sp"
|
||||
android:textColor="@color/textThirdColor"
|
||||
android:text="@string/withdraw_amount"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="¥"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="38sp"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKEditView
|
||||
android:id="@+id/editAmount"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="38dp"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="38sp"
|
||||
android:background="@color/transparent"
|
||||
android:paddingLeft="12dp"
|
||||
android:textStyle="bold"
|
||||
android:inputType="numberDecimal"
|
||||
></com.ck.ckcollar.app.widget.CKEditView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/btnAll"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/textThirdColor"
|
||||
android:text="@string/withdraw_all"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
android:text="@string/withdraw_to"
|
||||
android:textColor="@color/textThirdColor"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:textSize="16sp"></com.ck.ckcollar.app.widget.CKTextView>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/btnAli"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:background="@drawable/bg_view_white_radius_12_stroke_1"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_ali"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:text="@string/alipay"
|
||||
android:paddingLeft="8dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/image1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_address_check_select"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/btnWX"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:background="@drawable/bg_view_white_radius_12_stroke_1"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginTop="10dp"
|
||||
android:visibility="gone"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_wx"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:text="@string/wechat_pay"
|
||||
android:paddingLeft="8dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:id="@+id/image2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_address_check_narmal"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKButton
|
||||
android:id="@+id/btnApply"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="50dp"
|
||||
android:background="@drawable/bg_login_button"
|
||||
android:text="@string/apply_withdraw"
|
||||
android:textColor="@color/buttonTextColor"></com.ck.ckcollar.app.widget.CKButton>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
Reference in New Issue
Block a user