Project

General

Profile

« Previous | Next » 

Revision 1cbcc6bf

Added by Leszek Koltunski about 5 years ago

Progress with Credits and Settings.

View differences:

src/main/res/layout/settings.xml
7 7

  
8 8
    <TextView
9 9
        android:layout_width="fill_parent"
10
        android:layout_height="48dp"
10
        android:layout_height="64dp"
11 11
        android:paddingStart="15dp"
12 12
        android:paddingEnd="15dp"
13
        android:gravity="start|bottom"
13
        android:gravity="start|center"
14 14
        android:text="@string/disappear"
15 15
        android:textAppearance="?android:attr/textAppearanceMedium" />
16 16

  
17 17
    <LinearLayout
18 18
        android:layout_width="fill_parent"
19
        android:layout_height="48dp"
19
        android:layout_height="40dp"
20 20
        android:gravity="center|fill_horizontal"
21 21
        android:orientation="horizontal">
22 22

  
23
        <TextView
24
            android:layout_weight="0.25"
25
            android:layout_width="0dp"
26
            android:layout_height="fill_parent"
27
            android:paddingStart="5dp"
28
            android:paddingEnd="5dp"
29
            android:gravity="start|center"
30
            android:text="@string/duration"
31
            android:textAppearance="?android:attr/textAppearanceSmall" />
32

  
33
        <TextView
34
            android:id="@+id/disappearDurationText"
35
            android:layout_weight="0.25"
36
            android:layout_width="0dp"
37
            android:layout_height="fill_parent"
38
            android:paddingStart="5dp"
39
            android:paddingEnd="5dp"
40
            android:gravity="end|center"
41
            android:textAppearance="?android:attr/textAppearanceSmall" />
42

  
23 43
        <SeekBar
24 44
            android:id="@+id/disappearDuration"
25
            android:layout_weight="0.6"
26
            android:layout_width="fill_parent"
45
            android:layout_weight="0.5"
46
            android:layout_width="0dp"
27 47
            android:layout_height="fill_parent"
28 48
            android:paddingLeft="10dp"
29 49
            android:paddingRight="10dp" />
30 50

  
51
    </LinearLayout>
52

  
53
    <LinearLayout
54
        android:layout_width="fill_parent"
55
        android:layout_height="40dp"
56
        android:gravity="center|fill_horizontal"
57
        android:orientation="horizontal">
58

  
59
        <TextView
60
            android:layout_weight="0.5"
61
            android:layout_width="0dp"
62
            android:layout_height="fill_parent"
63
            android:paddingStart="5dp"
64
            android:paddingEnd="5dp"
65
            android:gravity="start|center"
66
            android:text="@string/type"
67
            android:textAppearance="?android:attr/textAppearanceSmall" />
68

  
31 69
        <Spinner
32 70
            android:id="@+id/disappearType"
33
            android:layout_weight="0.4"
34
            android:layout_width="fill_parent"
71
            android:layout_weight="0.5"
72
            android:layout_width="0dp"
35 73
            android:layout_height="fill_parent"
36 74
            android:textAlignment="center"
37 75
            android:paddingLeft="10dp"
......
44 82
        android:layout_height="48dp"
45 83
        android:paddingStart="15dp"
46 84
        android:paddingEnd="15dp"
47
        android:gravity="start|bottom"
85
        android:gravity="start|center"
48 86
        android:text="@string/appear"
49 87
        android:textAppearance="?android:attr/textAppearanceMedium" />
50 88

  
51 89
    <LinearLayout
52 90
        android:layout_width="fill_parent"
53
        android:layout_height="48dp"
91
        android:layout_height="40dp"
54 92
        android:gravity="center|fill_horizontal"
55 93
        android:orientation="horizontal">
56 94

  
95
        <TextView
96
            android:layout_weight="0.25"
97
            android:layout_width="0dp"
98
            android:layout_height="fill_parent"
99
            android:paddingStart="5dp"
100
            android:paddingEnd="5dp"
101
            android:gravity="start|center"
102
            android:text="@string/duration"
103
            android:textAppearance="?android:attr/textAppearanceSmall" />
104

  
105
        <TextView
106
            android:id="@+id/appearDurationText"
107
            android:layout_weight="0.25"
108
            android:layout_width="0dp"
109
            android:layout_height="fill_parent"
110
            android:paddingStart="5dp"
111
            android:paddingEnd="5dp"
112
            android:gravity="end|center"
113
            android:textAppearance="?android:attr/textAppearanceSmall" />
114

  
57 115
        <SeekBar
58 116
            android:id="@+id/appearDuration"
59
            android:layout_weight="0.6"
60
            android:layout_width="fill_parent"
117
            android:layout_weight="0.5"
118
            android:layout_width="0dp"
61 119
            android:layout_height="fill_parent"
62 120
            android:paddingLeft="10dp"
63 121
            android:paddingRight="10dp" />
64 122

  
123
    </LinearLayout>
124

  
125
    <LinearLayout
126
        android:layout_width="fill_parent"
127
        android:layout_height="40dp"
128
        android:gravity="center|fill_horizontal"
129
        android:orientation="horizontal">
130

  
131
        <TextView
132
            android:layout_weight="0.5"
133
            android:layout_width="0dp"
134
            android:layout_height="fill_parent"
135
            android:paddingStart="5dp"
136
            android:paddingEnd="5dp"
137
            android:gravity="start|center"
138
            android:text="@string/type"
139
            android:textAppearance="?android:attr/textAppearanceSmall" />
140

  
65 141
        <Spinner
66 142
            android:id="@+id/appearType"
67
            android:layout_weight="0.4"
68
            android:layout_width="fill_parent"
143
            android:layout_weight="0.5"
144
            android:layout_width="0dp"
69 145
            android:layout_height="fill_parent"
70 146
            android:textAlignment="center"
71 147
            android:paddingLeft="10dp"

Also available in: Unified diff