|
2 | 2 | <!-- |
3 | 3 | ~ Nextcloud - Android Client |
4 | 4 | ~ |
| 5 | + ~ SPDX-FileCopyrightText: 2026 Alper Ozturk <alper.ozturk@nextcloud.com> |
5 | 6 | ~ SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me> |
6 | 7 | ~ SPDX-FileCopyrightText: 2018 Nextcloud GmbH |
7 | 8 | ~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only |
8 | 9 | --> |
9 | 10 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 11 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
10 | 12 | android:id="@+id/scroll" |
11 | 13 | android:layout_width="match_parent" |
12 | 14 | android:layout_height="match_parent" |
13 | 15 | android:layout_gravity="center" |
14 | 16 | android:fillViewport="true" |
15 | 17 | android:orientation="vertical"> |
16 | 18 |
|
17 | | - <!-- The main content view --> |
18 | 19 | <LinearLayout |
19 | 20 | android:layout_width="match_parent" |
20 | 21 | android:layout_height="wrap_content" |
|
26 | 27 | android:layout_width="match_parent" |
27 | 28 | android:layout_height="wrap_content" |
28 | 29 | android:contentDescription="@null" |
| 30 | + android:layout_marginBottom="@dimen/standard_margin" |
29 | 31 | android:src="@drawable/logo" /> |
30 | 32 |
|
31 | | - <TextView |
| 33 | + <com.google.android.material.textview.MaterialTextView |
32 | 34 | android:id="@+id/loginInfo" |
33 | | - android:layout_width="wrap_content" |
| 35 | + android:layout_width="match_parent" |
34 | 36 | android:layout_height="wrap_content" |
35 | | - android:ellipsize="middle" |
36 | | - android:text="@string/placeholder_filename" |
37 | | - android:textColor="@color/text_color" |
38 | | - android:textSize="20sp" |
39 | | - android:textStyle="bold" /> |
| 37 | + android:layout_marginBottom="@dimen/standard_margin" |
| 38 | + android:layout_marginHorizontal="@dimen/standard_margin" |
| 39 | + android:breakStrategy="balanced" |
| 40 | + android:ellipsize="end" |
| 41 | + android:gravity="center_horizontal" |
| 42 | + android:hyphenationFrequency="none" |
| 43 | + android:maxLines="3" |
| 44 | + android:maxWidth="@dimen/default_login_width" |
| 45 | + android:textAppearance="?attr/textAppearanceTitleMedium" |
| 46 | + android:textColor="@color/login_text_color" /> |
40 | 47 |
|
41 | | - <ProgressBar |
| 48 | + <com.google.android.material.progressindicator.CircularProgressIndicator |
42 | 49 | android:id="@+id/progressBar" |
43 | | - style="?android:attr/progressBarStyle" |
44 | | - android:layout_width="match_parent" |
| 50 | + android:layout_width="wrap_content" |
45 | 51 | android:layout_height="wrap_content" |
46 | | - android:layout_marginTop="@dimen/standard_margin" |
47 | | - android:indeterminate="true" /> |
| 52 | + android:indeterminate="true" |
| 53 | + app:indicatorColor="@color/login_text_color" /> |
48 | 54 | </LinearLayout> |
49 | 55 | </ScrollView> |
0 commit comments