Blame view
GameSDKDemo/src/main/res/layout/fragment_payment.xml
3 KB
| 4a6edc661  SDK v4.7.0:增加支付弹窗... | 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 |   <?xml version="1.0" encoding="utf-8"?>
  <LinearLayout 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:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical"
                tools:context=".PaymentInfoSubmitFragment">
  
      <android.support.design.widget.TextInputLayout
          android:id="@+id/product"
          android:layout_width="match_parent"
          android:layout_height="wrap_content">
  
          <EditText
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/hint_product"
              />
      </android.support.design.widget.TextInputLayout>
  
      <android.support.design.widget.TextInputLayout
          android:id="@+id/amount"
          android:layout_width="match_parent"
          android:layout_height="wrap_content">
  
          <EditText
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/hint_amount"
              android:inputType="numberDecimal"/>
      </android.support.design.widget.TextInputLayout>
  
      <android.support.design.widget.TextInputLayout
          android:id="@+id/currency"
          android:layout_width="match_parent"
          android:layout_height="wrap_content">
  
          <EditText
  
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/hint_currency"/>
      </android.support.design.widget.TextInputLayout>
  
      <android.support.design.widget.TextInputLayout
          android:id="@+id/server_id"
          android:layout_width="match_parent"
          android:layout_height="wrap_content">
  
          <EditText
  
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/hint_server_id"/>
      </android.support.design.widget.TextInputLayout>
  
      <android.support.design.widget.TextInputLayout
          android:id="@+id/role_id"
          android:layout_width="match_parent"
          android:layout_height="wrap_content">
  
          <EditText
  
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/hint_role_id"/>
      </android.support.design.widget.TextInputLayout>
  
      <android.support.design.widget.TextInputLayout
          android:id="@+id/extra"
          android:layout_width="match_parent"
          android:layout_height="wrap_content">
  
          <EditText
  
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="@string/hint_extra"/>
      </android.support.design.widget.TextInputLayout>
  
      <Button
          android:id="@+id/submit"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="@string/go_pay"/>
  
  
  </LinearLayout>
 |