blob: 0282005ca7153fb5df35e987de175104a5a6654b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/dolphin_surface">
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/about_sheet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="24dp"
android:paddingHorizontal="24dp">
<ImageView
android:id="@+id/dolphin_logo"
android:layout_width="132dp"
android:layout_height="132dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/spacing_large"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:contentDescription="@string/about_dolphin_image"
android:focusable="true" />
<TextView
android:id="@+id/name_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:focusable="false"
android:gravity="center_horizontal"
android:text="@string/about_dolphin"
android:textAppearance="@style/TextAppearance.AppCompat.Display3"
android:textColor="@color/dolphin_onSurface" />
<TextView
android:id="@+id/version_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/spacing_large"
android:focusable="false"
android:gravity="center_horizontal"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:textColor="@color/dolphin_onSurface"
android:textIsSelectable="true"
tools:text="5.0-XXXXX" />
<TextView
android:id="@+id/branch_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/spacing_large"
android:focusable="false"
android:gravity="center_horizontal"
android:textColor="@color/dolphin_onSurface"
android:textIsSelectable="true"
tools:text="Branch:\nmaster" />
<TextView
android:id="@+id/revision_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/spacing_large"
android:focusable="false"
android:gravity="center_horizontal"
android:textColor="@color/dolphin_onSurface"
android:textIsSelectable="true"
tools:text="Revision:\nf4f94396e94dad9cd4d7d7fb6defa096966a4ab8" />
<TextView
android:id="@+id/about_dolphin_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/spacing_large"
android:focusable="false"
android:gravity="center_horizontal"
android:text="@string/about_dolphin_description"
android:textColor="@color/dolphin_onSurface" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_large">
<TextView
android:id="@+id/website_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
android:text="@string/about_website"
android:textColor="@color/dolphin_onSurface"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/github_text"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/github_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/about_github"
android:textColor="@color/dolphin_onSurface"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/support_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/about_support"
android:textColor="@color/dolphin_onSurface"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/github_text"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/divider_2"
android:layout_width="1dp"
android:layout_height="0dp"
android:layout_gravity="center_horizontal"
android:background="@color/dolphin_onSurface"
android:focusable="false"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/support_text"
app:layout_constraintStart_toEndOf="@+id/github_text"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/divider_1"
android:layout_width="1dp"
android:layout_height="0dp"
android:layout_gravity="center_horizontal"
android:background="@color/dolphin_onSurface"
android:focusable="false"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/github_text"
app:layout_constraintStart_toEndOf="@+id/website_text"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.core.widget.NestedScrollView>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|