1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
android:id="@+id/settingsGrid"
|
4
|
android:layout_width="wrap_content"
|
5
|
android:layout_height="wrap_content"
|
6
|
android:gravity="center"
|
7
|
android:orientation="vertical">
|
8
|
|
9
|
<TextView
|
10
|
android:id="@+id/settingsTitle"
|
11
|
android:layout_width="match_parent"
|
12
|
android:layout_height="wrap_content"
|
13
|
android:text="@string/settings_title"
|
14
|
android:textSize="34sp"
|
15
|
android:background="@color/light_grey"
|
16
|
android:gravity="center"/>
|
17
|
|
18
|
<GridLayout
|
19
|
android:layout_width="match_parent"
|
20
|
android:layout_height="wrap_content"
|
21
|
android:rowCount="2"
|
22
|
android:columnCount="2">
|
23
|
|
24
|
<TextView
|
25
|
android:id="@+id/sortText"
|
26
|
android:layout_marginStart="5dp"
|
27
|
android:layout_marginEnd="25dp"
|
28
|
android:layout_width="wrap_content"
|
29
|
android:layout_height="match_parent"
|
30
|
android:text="@string/sort_by"
|
31
|
android:textSize="24sp"
|
32
|
android:gravity="start|center_vertical"/>
|
33
|
|
34
|
<Spinner
|
35
|
android:id="@+id/sortMethod"
|
36
|
android:layout_width="wrap_content"
|
37
|
android:layout_height="match_parent"
|
38
|
android:layout_margin="10dip"
|
39
|
android:gravity="center|center_vertical"/>
|
40
|
|
41
|
<TextView
|
42
|
android:id="@+id/themeText"
|
43
|
android:layout_marginStart="5dp"
|
44
|
android:layout_marginEnd="25dp"
|
45
|
android:layout_width="wrap_content"
|
46
|
android:layout_height="match_parent"
|
47
|
android:text="@string/theme"
|
48
|
android:textSize="24sp"
|
49
|
android:gravity="start|center_vertical"/>
|
50
|
|
51
|
<Spinner
|
52
|
android:id="@+id/themeValue"
|
53
|
android:layout_width="wrap_content"
|
54
|
android:layout_height="match_parent"
|
55
|
android:layout_margin="10dip"
|
56
|
android:gravity="center|center_vertical"/>
|
57
|
|
58
|
</GridLayout>
|
59
|
</LinearLayout>
|