Advertisement
ms_olin

Untitled

Mar 21st, 2017
932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.71 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:padding="16dp"
  7.    tools:context=".MainActivity">
  8.  
  9.     <LinearLayout
  10.        android:layout_width="match_parent"
  11.        android:layout_height="wrap_content"
  12.        android:orientation="vertical">
  13.  
  14.         <TextView
  15.            android:id="@+id/version"
  16.            android:layout_width="match_parent"
  17.            android:layout_height="wrap_content"
  18.            android:paddingBottom="8dp"/>
  19.  
  20.         <LinearLayout
  21.            android:layout_width="match_parent"
  22.            android:layout_height="wrap_content"
  23.            android:orientation="horizontal">
  24.  
  25.             <CheckBox
  26.                android:id="@+id/gather_expiry"
  27.                android:layout_width="wrap_content"
  28.                android:layout_height="wrap_content"
  29.                android:layout_weight="1"
  30.                android:checked="false"
  31.                android:text="Expiry"
  32.                android:onClick="onExpiryToggle"/>
  33.  
  34.             <CheckBox
  35.                android:id="@+id/gather_cvv"
  36.                android:layout_width="wrap_content"
  37.                android:layout_height="wrap_content"
  38.                android:layout_weight="1"
  39.                android:checked="false"
  40.                android:text="CVV"/>
  41.  
  42.             <CheckBox
  43.                android:id="@+id/gather_postal_code"
  44.                android:layout_width="wrap_content"
  45.                android:layout_height="wrap_content"
  46.                android:layout_weight="1"
  47.                android:checked="false"
  48.                android:text="Postal Code"/>
  49.  
  50.         </LinearLayout>
  51.  
  52.         <CheckBox
  53.            android:id="@+id/gather_cardholder_name"
  54.            android:layout_width="match_parent"
  55.            android:layout_height="wrap_content"
  56.            android:text="Cardholder Name"/>
  57.  
  58.         <CheckBox
  59.            android:id="@+id/scan_expiry"
  60.            android:layout_width="match_parent"
  61.            android:layout_height="wrap_content"
  62.            android:text="Scan Expiry"
  63.            android:checked="true"/>
  64.  
  65.         <LinearLayout
  66.            android:layout_width="match_parent"
  67.            android:layout_height="wrap_content"
  68.            android:orientation="horizontal"
  69.            android:focusableInTouchMode="true">
  70.  
  71.         </LinearLayout>
  72.  
  73.         <LinearLayout
  74.            android:layout_width="match_parent"
  75.            android:layout_height="wrap_content"
  76.            android:orientation="horizontal">
  77.  
  78.             <Button
  79.                android:id="@+id/scan"
  80.                android:layout_width="wrap_content"
  81.                android:layout_height="wrap_content"
  82.                android:layout_weight="0.4"
  83.                android:text="Scan Credit Card using Card.io"
  84.                android:onClick="onScan"/>
  85.  
  86.         </LinearLayout>
  87.  
  88.         <Spinner
  89.            android:id="@+id/recordings"
  90.            android:layout_width="match_parent"
  91.            android:layout_height="50dp"
  92.            android:visibility="gone"/>
  93.  
  94.         <TextView
  95.            android:id="@+id/result"
  96.            android:layout_width="match_parent"
  97.            android:layout_height="wrap_content"/>
  98.  
  99.         <ImageView
  100.            android:id="@+id/result_card_type_image"
  101.            android:layout_width="match_parent"
  102.            android:layout_height="wrap_content"/>
  103.  
  104.         <ImageView
  105.            android:id="@+id/result_image"
  106.            android:layout_width="match_parent"
  107.            android:layout_height="wrap_content"/>
  108.  
  109.     </LinearLayout>
  110.  
  111. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement