Project

General

Profile

Download (4.79 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / res / layout / purchase.xml @ de131f0a

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 cd432dd3 Leszek Koltunski
    <LinearLayout
10 71cda061 Leszek Koltunski
         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 cd432dd3 Leszek Koltunski
         <LinearLayout
19
             android:id="@+id/upperBarLeft"
20
             android:layout_width="0dp"
21 71cda061 Leszek Koltunski
             android:layout_height="match_parent"
22 cd432dd3 Leszek Koltunski
             android:layout_weight="3.0"
23
             android:gravity="center_vertical|start"
24
             android:background="@color/grey"
25
             android:orientation="vertical">
26
27
             <TextView
28
                 android:id="@+id/purchaseUpperName"
29
                 android:layout_width="match_parent"
30
                 android:layout_height="wrap_content"
31
                 android:paddingStart="5dp"
32
                 android:textSize="26sp"
33
                 android:singleLine="true"
34
                 android:maxLines="1"/>
35
             <TextView
36
                 android:id="@+id/purchaseUpperAuthor"
37
                 android:layout_width="match_parent"
38
                 android:layout_height="wrap_content"
39
                 android:paddingStart="5dp"
40
                 android:textSize="26sp"
41
                 android:singleLine="true"
42
                 android:maxLines="1"/>
43
         </LinearLayout>
44 71cda061 Leszek Koltunski
45
         <ImageView
46
             android:id="@+id/purchaseDifficulty"
47 cd432dd3 Leszek Koltunski
             android:layout_width="0dp"
48 71cda061 Leszek Koltunski
             android:layout_height="match_parent"
49 cd432dd3 Leszek Koltunski
             android:layout_weight="1.0"/>
50
51
    </LinearLayout>
52 71cda061 Leszek Koltunski
53 c7238c67 Leszek Koltunski
    <org.distorted.purchase.PurchaseSurfaceView
54
        android:id="@+id/purchaseSurfaceView"
55
        android:layout_width="match_parent"
56 71cda061 Leszek Koltunski
        android:layout_height="wrap_content"/>
57 c7238c67 Leszek Koltunski
58
        <LinearLayout
59 71cda061 Leszek Koltunski
            android:id="@+id/purchaseLayoutOne"
60 c7238c67 Leszek Koltunski
            android:layout_width="fill_parent"
61 71cda061 Leszek Koltunski
            android:layout_height="10dp"
62 c7238c67 Leszek Koltunski
            android:paddingLeft="5dp"
63
            android:paddingRight="5dp"
64
            android:background="@color/grey"
65
            android:orientation="horizontal">
66
67
            <TextView
68 71cda061 Leszek Koltunski
                android:id="@+id/purchaseTextOne"
69 c7238c67 Leszek Koltunski
                android:layout_width="0dp"
70
                android:layout_height="match_parent"
71 71cda061 Leszek Koltunski
                android:layout_weight="2.0"
72 c7238c67 Leszek Koltunski
                android:gravity="center_vertical|start"
73
                android:paddingStart="5dp"
74
                android:textSize="26sp"
75
                android:singleLine="true"
76
                android:maxLines="1"
77 71cda061 Leszek Koltunski
                android:text="@string/buy_one"/>
78 c7238c67 Leszek Koltunski
79 71cda061 Leszek Koltunski
            <Button
80
                android:id="@+id/purchaseButtonOne"
81 c7238c67 Leszek Koltunski
                android:layout_width="0dp"
82
                android:layout_height="match_parent"
83
                android:layout_weight="1.0"
84 71cda061 Leszek Koltunski
                android:gravity="center_vertical|end"
85 c7238c67 Leszek Koltunski
                android:paddingStart="5dp"
86
                android:textSize="26sp"
87
                android:singleLine="true"
88
                android:maxLines="1"/>
89
90
        </LinearLayout>
91
92
        <LinearLayout
93 71cda061 Leszek Koltunski
            android:id="@+id/purchaseLayoutAll"
94 c7238c67 Leszek Koltunski
            android:layout_width="fill_parent"
95 71cda061 Leszek Koltunski
            android:layout_height="10dp"
96 c7238c67 Leszek Koltunski
            android:paddingLeft="5dp"
97
            android:paddingRight="5dp"
98
            android:background="@color/grey"
99
            android:orientation="horizontal">
100
101
            <TextView
102 71cda061 Leszek Koltunski
                android:id="@+id/purchaseTextAll"
103 c7238c67 Leszek Koltunski
                android:layout_width="0dp"
104
                android:layout_height="match_parent"
105 71cda061 Leszek Koltunski
                android:layout_weight="2.0"
106 c7238c67 Leszek Koltunski
                android:gravity="center_vertical|start"
107
                android:paddingStart="5dp"
108
                android:textSize="26sp"
109
                android:singleLine="true"
110
                android:maxLines="1"
111 71cda061 Leszek Koltunski
                android:text="@string/buy_all"/>
112 c7238c67 Leszek Koltunski
113 71cda061 Leszek Koltunski
            <Button
114
                android:id="@+id/purchaseButtonAll"
115 c7238c67 Leszek Koltunski
                android:layout_width="0dp"
116
                android:layout_height="match_parent"
117
                android:layout_weight="1.0"
118 71cda061 Leszek Koltunski
                android:gravity="center_vertical|end"
119 c7238c67 Leszek Koltunski
                android:paddingStart="5dp"
120
                android:textSize="26sp"
121
                android:singleLine="true"
122 71cda061 Leszek Koltunski
                android:maxLines="1"/>
123 c7238c67 Leszek Koltunski
        </LinearLayout>
124
125
    <LinearLayout
126
        android:id="@+id/lowerBar"
127
        android:layout_width="match_parent"
128
        android:layout_height="100dp"
129
        android:layout_gravity="end"
130
        android:orientation="horizontal"
131
        android:background="@color/light_grey">
132
    </LinearLayout>
133
134
</LinearLayout>