195 lines
8.5 KiB
XML
195 lines
8.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#F7F7F7"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#F7F7F7"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/edit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dip"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_weight="3"
|
|
android:text="@string/moneytoin" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:layout_marginStart="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="¥"
|
|
android:textColor="@android:color/black"
|
|
android:textSize="18sp" />
|
|
|
|
<EditText
|
|
android:id="@+id/number"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="4dp"
|
|
android:layout_marginStart="8dp"
|
|
android:background="@null"
|
|
android:digits="0123456789."
|
|
android:maxLength="10"
|
|
android:enabled="true"
|
|
android:focusable="true"
|
|
android:textColor="@android:color/black"
|
|
android:textSize="24sp"
|
|
tools:ignore="RtlHardcoded" />
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@android:color/white"
|
|
android:layout_marginTop="15dip"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="@color/LightGray" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dip"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/alipay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="16dip"
|
|
android:src="@mipmap/alipay" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_gravity="center"
|
|
android:layout_marginStart="16dip"
|
|
android:layout_toRightOf="@+id/alipay"
|
|
android:layout_weight="3"
|
|
android:text="@string/alpay" />
|
|
|
|
|
|
<RadioButton
|
|
android:id="@+id/alpay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginEnd="16dip"
|
|
android:button="@drawable/checkbox_style"
|
|
android:layout_weight="1"
|
|
android:gravity="right"
|
|
tools:ignore="UnusedAttribute" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:layout_marginTop="15dip"
|
|
android:background="@color/LightGray" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dip"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="16dip"
|
|
|
|
android:layout_toRightOf="@+id/wexin"
|
|
android:layout_weight="3"
|
|
android:text="@string/wxpay" />
|
|
|
|
<ImageView
|
|
android:id="@+id/wexin"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="16dip"
|
|
android:src="@mipmap/wechat" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/wxpaly"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:button="@drawable/checkbox_style"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_weight="1"
|
|
android:layout_marginEnd="16dip"
|
|
android:gravity="right" />
|
|
</RelativeLayout>
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:layout_marginTop="15dip"
|
|
android:background="@color/LightGray" />
|
|
</LinearLayout>
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/confirm"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="50dip"
|
|
android:background="@drawable/corner_background"
|
|
android:gravity="center"
|
|
android:layout_marginEnd="16dip"
|
|
android:layout_marginStart="16dip"
|
|
android:text="支付"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/texteditconfirm" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</layout> |