1 |
c7238c67
|
Leszek Koltunski
|
<?xml version="1.0" encoding="utf-8"?>
|
2 |
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3 |
|
|
android:id="@+id/mainLayout"
|
4 |
|
|
android:layout_width="match_parent"
|
5 |
|
|
android:layout_height="match_parent"
|
6 |
71cda061
|
Leszek Koltunski
|
android:background="@color/light_grey"
|
7 |
c7238c67
|
Leszek Koltunski
|
android:orientation="vertical">
|
8 |
|
|
|
9 |
71cda061
|
Leszek Koltunski
|
<RelativeLayout
|
10 |
|
|
android:id="@+id/upperBar"
|
11 |
|
|
android:layout_width="fill_parent"
|
12 |
|
|
android:layout_height="100dp"
|
13 |
|
|
android:paddingLeft="5dp"
|
14 |
|
|
android:paddingRight="5dp"
|
15 |
|
|
android:background="@color/grey"
|
16 |
|
|
android:orientation="horizontal">
|
17 |
|
|
|
18 |
|
|
<TextView
|
19 |
|
|
android:id="@+id/purchaseDetailsName"
|
20 |
|
|
android:layout_width="wrap_content"
|
21 |
|
|
android:layout_height="match_parent"
|
22 |
|
|
android:layout_alignParentStart="true"
|
23 |
|
|
android:paddingStart="5dp"
|
24 |
|
|
android:textSize="26sp"
|
25 |
|
|
android:singleLine="true"
|
26 |
|
|
android:maxLines="1"/>
|
27 |
|
|
|
28 |
|
|
<ImageView
|
29 |
|
|
android:id="@+id/purchaseDifficulty"
|
30 |
|
|
android:layout_width="wrap_content"
|
31 |
|
|
android:layout_height="match_parent"
|
32 |
|
|
android:layout_alignParentEnd="true"/>
|
33 |
|
|
</RelativeLayout>
|
34 |
|
|
|
35 |
c7238c67
|
Leszek Koltunski
|
<org.distorted.purchase.PurchaseSurfaceView
|
36 |
|
|
android:id="@+id/purchaseSurfaceView"
|
37 |
|
|
android:layout_width="match_parent"
|
38 |
71cda061
|
Leszek Koltunski
|
android:layout_height="wrap_content"/>
|
39 |
c7238c67
|
Leszek Koltunski
|
|
40 |
|
|
<LinearLayout
|
41 |
71cda061
|
Leszek Koltunski
|
android:id="@+id/purchaseLayoutOne"
|
42 |
c7238c67
|
Leszek Koltunski
|
android:layout_width="fill_parent"
|
43 |
71cda061
|
Leszek Koltunski
|
android:layout_height="10dp"
|
44 |
c7238c67
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
45 |
|
|
android:paddingRight="5dp"
|
46 |
|
|
android:background="@color/grey"
|
47 |
|
|
android:orientation="horizontal">
|
48 |
|
|
|
49 |
|
|
<TextView
|
50 |
71cda061
|
Leszek Koltunski
|
android:id="@+id/purchaseTextOne"
|
51 |
c7238c67
|
Leszek Koltunski
|
android:layout_width="0dp"
|
52 |
|
|
android:layout_height="match_parent"
|
53 |
71cda061
|
Leszek Koltunski
|
android:layout_weight="2.0"
|
54 |
c7238c67
|
Leszek Koltunski
|
android:gravity="center_vertical|start"
|
55 |
|
|
android:paddingStart="5dp"
|
56 |
|
|
android:textSize="26sp"
|
57 |
|
|
android:singleLine="true"
|
58 |
|
|
android:maxLines="1"
|
59 |
71cda061
|
Leszek Koltunski
|
android:text="@string/buy_one"/>
|
60 |
c7238c67
|
Leszek Koltunski
|
|
61 |
71cda061
|
Leszek Koltunski
|
<Button
|
62 |
|
|
android:id="@+id/purchaseButtonOne"
|
63 |
c7238c67
|
Leszek Koltunski
|
android:layout_width="0dp"
|
64 |
|
|
android:layout_height="match_parent"
|
65 |
|
|
android:layout_weight="1.0"
|
66 |
71cda061
|
Leszek Koltunski
|
android:gravity="center_vertical|end"
|
67 |
c7238c67
|
Leszek Koltunski
|
android:paddingStart="5dp"
|
68 |
|
|
android:textSize="26sp"
|
69 |
|
|
android:singleLine="true"
|
70 |
|
|
android:maxLines="1"/>
|
71 |
|
|
|
72 |
|
|
</LinearLayout>
|
73 |
|
|
|
74 |
|
|
<LinearLayout
|
75 |
71cda061
|
Leszek Koltunski
|
android:id="@+id/purchaseLayoutAll"
|
76 |
c7238c67
|
Leszek Koltunski
|
android:layout_width="fill_parent"
|
77 |
71cda061
|
Leszek Koltunski
|
android:layout_height="10dp"
|
78 |
c7238c67
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
79 |
|
|
android:paddingRight="5dp"
|
80 |
|
|
android:background="@color/grey"
|
81 |
|
|
android:orientation="horizontal">
|
82 |
|
|
|
83 |
|
|
<TextView
|
84 |
71cda061
|
Leszek Koltunski
|
android:id="@+id/purchaseTextAll"
|
85 |
c7238c67
|
Leszek Koltunski
|
android:layout_width="0dp"
|
86 |
|
|
android:layout_height="match_parent"
|
87 |
71cda061
|
Leszek Koltunski
|
android:layout_weight="2.0"
|
88 |
c7238c67
|
Leszek Koltunski
|
android:gravity="center_vertical|start"
|
89 |
|
|
android:paddingStart="5dp"
|
90 |
|
|
android:textSize="26sp"
|
91 |
|
|
android:singleLine="true"
|
92 |
|
|
android:maxLines="1"
|
93 |
71cda061
|
Leszek Koltunski
|
android:text="@string/buy_all"/>
|
94 |
c7238c67
|
Leszek Koltunski
|
|
95 |
71cda061
|
Leszek Koltunski
|
<Button
|
96 |
|
|
android:id="@+id/purchaseButtonAll"
|
97 |
c7238c67
|
Leszek Koltunski
|
android:layout_width="0dp"
|
98 |
|
|
android:layout_height="match_parent"
|
99 |
|
|
android:layout_weight="1.0"
|
100 |
71cda061
|
Leszek Koltunski
|
android:gravity="center_vertical|end"
|
101 |
c7238c67
|
Leszek Koltunski
|
android:paddingStart="5dp"
|
102 |
|
|
android:textSize="26sp"
|
103 |
|
|
android:singleLine="true"
|
104 |
71cda061
|
Leszek Koltunski
|
android:maxLines="1"/>
|
105 |
c7238c67
|
Leszek Koltunski
|
</LinearLayout>
|
106 |
|
|
|
107 |
|
|
<LinearLayout
|
108 |
|
|
android:id="@+id/lowerBar"
|
109 |
|
|
android:layout_width="match_parent"
|
110 |
|
|
android:layout_height="100dp"
|
111 |
|
|
android:layout_gravity="end"
|
112 |
|
|
android:orientation="horizontal"
|
113 |
|
|
android:background="@color/light_grey">
|
114 |
|
|
</LinearLayout>
|
115 |
|
|
|
116 |
|
|
</LinearLayout>
|