Revision effcaf0e
Added by Leszek Koltunski over 1 year ago
src/main/res/layout/dialog_stars_status.xml | ||
---|---|---|
9 | 9 |
|
10 | 10 |
<TextView |
11 | 11 |
android:id="@+id/stars_string1" |
12 |
android:background="@color/dark_grey"
|
|
12 |
android:background="@color/light_grey"
|
|
13 | 13 |
android:layout_width="match_parent" |
14 | 14 |
android:layout_height="match_parent" |
15 | 15 |
android:gravity="start" |
... | ... | |
19 | 19 |
/> |
20 | 20 |
<TextView |
21 | 21 |
android:id="@+id/stars_string2" |
22 |
android:background="@color/dark_grey"
|
|
22 |
android:background="@color/light_grey"
|
|
23 | 23 |
android:layout_width="match_parent" |
24 | 24 |
android:layout_height="match_parent" |
25 | 25 |
android:gravity="start" |
... | ... | |
27 | 27 |
android:padding="10dp" |
28 | 28 |
android:text="@string/buy_string2" |
29 | 29 |
/> |
30 |
<ImageButton |
|
31 |
android:id="@+id/stars_buy_button" |
|
32 |
android:layout_width="match_parent" |
|
33 |
android:layout_height="wrap_content" |
|
34 |
android:gravity="center" |
|
35 |
android:backgroundTint="@color/red" |
|
36 |
android:scaleType="fitCenter" |
|
37 |
android:src="@drawable/price_50" |
|
38 |
/> |
|
30 |
|
|
31 |
<LinearLayout |
|
32 |
android:id="@+id/stars_layout_50" |
|
33 |
android:layout_width="fill_parent" |
|
34 |
android:layout_height="80dp" |
|
35 |
android:padding="5dp" |
|
36 |
android:layout_marginTop="10dp" |
|
37 |
android:background="@color/light_grey" |
|
38 |
android:orientation="horizontal"> |
|
39 |
|
|
40 |
<ImageView |
|
41 |
android:id="@+id/stars_image_50" |
|
42 |
android:layout_width="0dp" |
|
43 |
android:layout_height="wrap_content" |
|
44 |
android:layout_weight="1.5" |
|
45 |
android:layout_gravity="center_vertical|start" |
|
46 |
android:scaleType="fitStart" |
|
47 |
android:src="@drawable/price_50" |
|
48 |
/> |
|
49 |
<Button |
|
50 |
android:id="@+id/stars_button_50" |
|
51 |
android:layout_width="0dp" |
|
52 |
android:layout_height="match_parent" |
|
53 |
android:layout_weight="1" |
|
54 |
android:layout_gravity="center_vertical|end" |
|
55 |
android:text="@string/buy" |
|
56 |
/> |
|
57 |
</LinearLayout> |
|
58 |
|
|
59 |
<LinearLayout |
|
60 |
android:id="@+id/stars_layout_200" |
|
61 |
android:layout_width="fill_parent" |
|
62 |
android:layout_height="80dp" |
|
63 |
android:padding="5dp" |
|
64 |
android:layout_marginTop="10dp" |
|
65 |
android:background="@color/light_grey" |
|
66 |
android:orientation="horizontal"> |
|
67 |
|
|
68 |
<ImageView |
|
69 |
android:id="@+id/stars_image_200" |
|
70 |
android:layout_width="0dp" |
|
71 |
android:layout_height="wrap_content" |
|
72 |
android:layout_weight="1.5" |
|
73 |
android:layout_gravity="center_vertical|start" |
|
74 |
android:scaleType="fitStart" |
|
75 |
android:src="@drawable/price_200" |
|
76 |
/> |
|
77 |
<Button |
|
78 |
android:id="@+id/stars_button_200" |
|
79 |
android:layout_width="0dp" |
|
80 |
android:layout_height="match_parent" |
|
81 |
android:layout_weight="1" |
|
82 |
android:layout_gravity="center_vertical|end" |
|
83 |
android:text="@string/buy" |
|
84 |
/> |
|
85 |
</LinearLayout> |
|
86 |
|
|
87 |
<LinearLayout |
|
88 |
android:id="@+id/stars_layout_600" |
|
89 |
android:layout_width="fill_parent" |
|
90 |
android:layout_height="80dp" |
|
91 |
android:padding="5dp" |
|
92 |
android:layout_marginTop="10dp" |
|
93 |
android:background="@color/light_grey" |
|
94 |
android:orientation="horizontal"> |
|
95 |
|
|
96 |
<ImageView |
|
97 |
android:id="@+id/stars_image_600" |
|
98 |
android:layout_width="0dp" |
|
99 |
android:layout_height="wrap_content" |
|
100 |
android:layout_weight="1.5" |
|
101 |
android:layout_gravity="center_vertical|start" |
|
102 |
android:scaleType="fitStart" |
|
103 |
android:src="@drawable/price_600" |
|
104 |
/> |
|
105 |
<Button |
|
106 |
android:id="@+id/stars_button_600" |
|
107 |
android:layout_width="0dp" |
|
108 |
android:layout_height="match_parent" |
|
109 |
android:layout_weight="1" |
|
110 |
android:layout_gravity="center_vertical|end" |
|
111 |
android:text="@string/buy" |
|
112 |
/> |
|
113 |
</LinearLayout> |
|
39 | 114 |
</LinearLayout> |
Also available in: Unified diff
Progress with 'Stars' dialog.