Revision 9881dc03
Added by Leszek Koltunski about 1 month ago
src/main/res/layout/settings_popup.xml | ||
---|---|---|
7 | 7 |
android:orientation="vertical"> |
8 | 8 |
|
9 | 9 |
<TextView |
10 |
android:id="@+id/sortTitle"
|
|
10 |
android:id="@+id/settingsTitle"
|
|
11 | 11 |
android:layout_width="match_parent" |
12 | 12 |
android:layout_height="wrap_content" |
13 | 13 |
android:text="@string/settings_title" |
14 | 14 |
android:background="@color/light_grey" |
15 | 15 |
android:gravity="center"/> |
16 | 16 |
|
17 |
<LinearLayout
|
|
18 |
android:layout_width="wrap_content"
|
|
19 |
android:layout_height="match_parent"
|
|
20 |
android:gravity="center"
|
|
21 |
android:orientation="horizontal">
|
|
17 |
<GridLayout
|
|
18 |
android:layout_width="match_parent"
|
|
19 |
android:layout_height="wrap_content"
|
|
20 |
android:rowCount="2"
|
|
21 |
android:columnCount="2">
|
|
22 | 22 |
|
23 |
<TextView |
|
23 |
<TextView
|
|
24 | 24 |
android:id="@+id/sortText" |
25 | 25 |
android:layout_marginStart="5dp" |
26 | 26 |
android:layout_marginEnd="25dp" |
... | ... | |
29 | 29 |
android:text="@string/sort_by" |
30 | 30 |
android:gravity="start|center_vertical"/> |
31 | 31 |
|
32 |
<Spinner |
|
32 |
<Spinner
|
|
33 | 33 |
android:id="@+id/sortMethod" |
34 | 34 |
android:layout_width="wrap_content" |
35 | 35 |
android:layout_height="match_parent" |
36 |
android:gravity="end|center_vertical"/> |
|
36 |
android:gravity="center|center_vertical"/> |
|
37 |
|
|
38 |
<TextView |
|
39 |
android:id="@+id/themeText" |
|
40 |
android:layout_marginStart="5dp" |
|
41 |
android:layout_marginEnd="25dp" |
|
42 |
android:layout_width="wrap_content" |
|
43 |
android:layout_height="match_parent" |
|
44 |
android:text="@string/theme" |
|
45 |
android:gravity="start|center_vertical"/> |
|
46 |
|
|
47 |
<Spinner |
|
48 |
android:id="@+id/themeValue" |
|
49 |
android:layout_width="wrap_content" |
|
50 |
android:layout_height="match_parent" |
|
51 |
android:gravity="center|center_vertical"/> |
|
37 | 52 |
|
38 |
</LinearLayout>
|
|
53 |
</GridLayout>
|
|
39 | 54 |
</LinearLayout> |
Also available in: Unified diff
common code from all activities to one BaseActivity