OSDN Git Service

Merge changes from topic "am-b95e3cad-9610-4d9b-96a8-a82f585400e6" into oc-dev am...
[android-x86/packages-apps-Settings.git] / res / layout / nfc_payment_how_it_works.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:id="@+id/trusted_devices_prompt_layout"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     android:background="#FF80CBC4" >
7
8     <RelativeLayout
9         android:layout_width="match_parent"
10         android:layout_height="match_parent" >
11
12         <LinearLayout
13             android:layout_width="match_parent"
14             android:layout_height="200dp"
15             android:background="#FFB2DFDB" >
16         </LinearLayout>
17
18         <ScrollView
19             android:layout_width="match_parent"
20             android:layout_height="match_parent"
21             android:paddingBottom="48dp"
22             android:fillViewport="true">
23
24             <LinearLayout
25                 android:id="@+id/nfc_how_it_works_image_text"
26                 android:layout_width="match_parent"
27                 android:layout_height="match_parent"
28                 android:paddingLeft="16dp"
29                 android:paddingRight="16dp"
30                 android:paddingTop="72dp"
31                 android:orientation="vertical">
32
33                 <ImageView
34                     android:id="@+id/nfc_how_it_works_image"
35                     android:layout_width="match_parent"
36                     android:layout_height="188dp"
37                     android:gravity="center"
38                     android:src="@drawable/nfc_how_it_works" />
39
40                 <TextView
41                     android:id="@+id/nfc_how_it_works_title"
42                     android:layout_width="match_parent"
43                     android:layout_height="wrap_content"
44                     android:text="@string/nfc_how_it_works_title"
45                     android:paddingLeft="16dp"
46                     android:paddingRight="16dp"
47                     android:textColor="#FF263238"
48                     android:textSize="24sp" />
49
50                 <TextView
51                     android:id="@+id/nfc_how_it_works_content"
52                     android:layout_width="match_parent"
53                     android:layout_height="wrap_content"
54                     android:paddingTop="10dp"
55                     android:paddingBottom="18dp"
56                     android:paddingLeft="16dp"
57                     android:paddingRight="16dp"
58                     android:text="@string/nfc_how_it_works_content"
59                     android:textColor="#FF263238"
60                     android:textSize="16sp" />
61             </LinearLayout>
62         </ScrollView>
63
64         <RelativeLayout
65             android:layout_width="match_parent"
66             android:layout_height="48dp"
67             android:layout_alignParentBottom="true"
68             android:background="#FFB2DFDB" >
69           <Button
70               android:id="@+id/nfc_how_it_works_button"
71               android:background="?android:attr/selectableItemBackground"
72               android:layout_alignParentRight="true"
73               android:layout_width="wrap_content"
74               android:layout_height="48dp"
75               android:layout_marginRight="20dp"
76               android:text="@string/nfc_how_it_works_got_it"
77               android:textSize="14sp"
78               android:textColor="#263238"
79               style="?android:attr/borderlessButtonStyle" />
80         </RelativeLayout>
81     </RelativeLayout>
82 </FrameLayout>