Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

android / dayu

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dayu
  • userCenter
  • src
  • main
  • res
  • layout
  • activity_withdrawals.xml
Find file
BlameHistoryPermalink
  • 罗翻's avatar
    压缩图片,升级环信sdk · 12dbb195
    罗翻 committed 6 years ago
    12dbb195
activity_withdrawals.xml 6.08 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <data>

        <variable
            name="presenter"
            type="com.dayu.usercenter.presenter.Withdrawals.WithdrawalsPresenter" />

    </data>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/cl_home_listview_bg"
        android:orientation="vertical">

        <RelativeLayout
            android:id="@+id/time_title"
            style="@style/title">

            <TextView
                android:id="@+id/title_text"
                style="@style/text_title"
                android:text="@string/title_withdrawals" />

            <ImageView
                android:id="@+id/iv_back"
                style="@style/title_image_back"
                android:onClick="@{()->presenter.dumpBack()}" />

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="@dimen/dp_6"
                android:layout_alignParentBottom="true"
                android:src="@drawable/line_shape" />
        </RelativeLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/cl_white"
            android:orientation="vertical">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="54dp"
                android:gravity="center_vertical"
                android:orientation="horizontal">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/dp_13.3"
                    android:text="@string/alipay_account"
                    android:textColor="#3a3a3a"
                    android:textSize="14.7sp" />

                <EditText
                    android:id="@+id/et_accout"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="21.3dp"
                    android:background="@null"
                    android:hint="@string/input_alipay_account"
                    android:text="@={presenter.mAccount}"
                    android:textColor="@color/cl_home_title_text_color"
                    android:textSize="14.7sp" />

            </LinearLayout>
        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="0.3dp"
            android:background="@color/cl_white"
            android:orientation="vertical">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="54dp"
                android:gravity="center_vertical"
                android:orientation="horizontal">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/dp_13.3"
                    android:text="@string/alipay_name"
                    android:textColor="#3a3a3a"
                    android:textSize="14.7sp" />

                <EditText
                    android:id="@+id/et_name"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="21.3dp"
                    android:background="@null"
                    android:hint="@string/input_alipay_name"
                    android:text="@={presenter.mName}"
                    android:textColor="@color/cl_home_title_text_color"
                    android:textSize="14.7sp" />

            </LinearLayout>
        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="0.3dp"
            android:background="@color/cl_white"
            android:orientation="vertical">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="54dp"
                android:gravity="center_vertical"
                android:orientation="horizontal">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/dp_13.3"
                    android:text="@string/alipay_phone"
                    android:textColor="#3a3a3a"
                    android:textSize="14.7sp" />

                <EditText
                    android:id="@+id/et_phone"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="21.3dp"
                    android:background="@null"
                    android:hint="@string/input_alipay_phone"
                    android:inputType="phone"
                    android:text="@={presenter.mPhone}"
                    android:textColor="@color/cl_home_title_text_color"
                    android:textSize="14.7sp" />

            </LinearLayout>
        </LinearLayout>

        <TextView
            android:id="@+id/tv_comfirm"
            android:layout_width="match_parent"
            android:layout_height="50dp"
            android:layout_marginLeft="@dimen/dp_16.7"
            android:layout_marginRight="@dimen/dp_16.7"
            android:layout_marginTop="33.3dp"
            android:background="@{presenter.mState ==0?@drawable/tab_blue_react:@drawable/btn_blue_react}"
            android:gravity="center"
            android:onClick="@{()->presenter.comfirm()}"
            android:text="@{presenter.mState ==0?@string/comfirm:@string/modify_alipay_info}"
            android:textColor="@{presenter.mState ==0?@color/cl_white:@color/cl_receiving_order_item_data}"
            android:textSize="14.7sp" />
    </LinearLayout>
</layout>