Skip to content

Commit c68752f

Browse files
committed
style(deep-link-login): ui
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 747ff54 commit c68752f

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

app/src/main/res/layout/deep_link_login.xml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@
22
<!--
33
~ Nextcloud - Android Client
44
~
5+
~ SPDX-FileCopyrightText: 2026 Alper Ozturk <alper.ozturk@nextcloud.com>
56
~ SPDX-FileCopyrightText: 2018 Tobias Kaminsky <tobias@kaminsky.me>
67
~ SPDX-FileCopyrightText: 2018 Nextcloud GmbH
78
~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
89
-->
910
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
11+
xmlns:app="http://schemas.android.com/apk/res-auto"
1012
android:id="@+id/scroll"
1113
android:layout_width="match_parent"
1214
android:layout_height="match_parent"
1315
android:layout_gravity="center"
1416
android:fillViewport="true"
1517
android:orientation="vertical">
1618

17-
<!-- The main content view -->
1819
<LinearLayout
1920
android:layout_width="match_parent"
2021
android:layout_height="wrap_content"
@@ -26,24 +27,29 @@
2627
android:layout_width="match_parent"
2728
android:layout_height="wrap_content"
2829
android:contentDescription="@null"
30+
android:layout_marginBottom="@dimen/standard_margin"
2931
android:src="@drawable/logo" />
3032

31-
<TextView
33+
<com.google.android.material.textview.MaterialTextView
3234
android:id="@+id/loginInfo"
33-
android:layout_width="wrap_content"
35+
android:layout_width="match_parent"
3436
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" />
4047

41-
<ProgressBar
48+
<com.google.android.material.progressindicator.CircularProgressIndicator
4249
android:id="@+id/progressBar"
43-
style="?android:attr/progressBarStyle"
44-
android:layout_width="match_parent"
50+
android:layout_width="wrap_content"
4551
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" />
4854
</LinearLayout>
4955
</ScrollView>

0 commit comments

Comments
 (0)