|
3 | 3 | ~ Nextcloud Talk - Android Client
|
4 | 4 | ~
|
5 | 5 | ~ SPDX-FileCopyrightText: 2017 Mario Danic <[email protected]>
|
| 6 | + ~ SPDX-FileCopyrightText: 2025 Julius Linus <[email protected]> |
6 | 7 | ~ SPDX-License-Identifier: GPL-3.0-or-later
|
7 | 8 | -->
|
8 |
| -<RelativeLayout |
9 |
| - xmlns:android="http://schemas.android.com/apk/res/android" |
10 |
| - xmlns:app="http://schemas.android.com/apk/res-auto" |
| 9 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
11 | 10 | android:layout_width="match_parent"
|
12 | 11 | android:layout_height="match_parent"
|
13 | 12 | android:background="@color/colorPrimary"
|
14 | 13 | android:keepScreenOn="true"
|
15 | 14 | android:orientation="vertical">
|
16 | 15 |
|
17 |
| - <ImageView |
18 |
| - android:id="@+id/image_logo" |
19 |
| - android:layout_width="match_parent" |
20 |
| - android:layout_height="96dp" |
21 |
| - android:layout_marginHorizontal="@dimen/standard_margin" |
22 |
| - android:layout_marginTop="185dp" |
23 |
| - android:contentDescription="@string/nc_app_product_name" |
24 |
| - android:scaleType="centerInside" |
25 |
| - app:srcCompat="@drawable/ic_logo" /> |
26 |
| - |
27 | 16 | <com.google.android.material.progressindicator.CircularProgressIndicator
|
28 | 17 | android:id="@+id/progress_bar"
|
29 | 18 | android:layout_width="@dimen/item_height"
|
|
37 | 26 | android:indeterminateTint="@color/white"
|
38 | 27 | android:indeterminateTintMode="src_in" />
|
39 | 28 |
|
40 |
| - <com.google.android.material.textview.MaterialTextView |
41 |
| - android:id="@+id/cancel_desc" |
42 |
| - android:layout_width="wrap_content" |
| 29 | + <LinearLayout |
| 30 | + android:layout_width="match_parent" |
43 | 31 | android:layout_height="wrap_content"
|
44 |
| - android:layout_below="@id/progress_bar" |
45 |
| - android:layout_marginTop="@dimen/standard_double_margin" |
46 |
| - android:textAlignment="center" |
47 |
| - android:text="@string/please_continue_the_login_process_in_the_browser" |
48 |
| - android:layout_centerInParent="true"/> |
| 32 | + android:layout_marginBottom="@dimen/standard_double_margin" |
| 33 | + android:orientation="vertical" |
| 34 | + android:layout_alignParentBottom="true"> |
49 | 35 |
|
| 36 | + <com.google.android.material.textview.MaterialTextView |
| 37 | + android:id="@+id/cancel_desc" |
| 38 | + android:layout_width="wrap_content" |
| 39 | + android:layout_height="wrap_content" |
| 40 | + android:layout_marginTop="@dimen/standard_double_margin" |
| 41 | + android:textAlignment="center" |
| 42 | + android:layout_gravity="center" |
| 43 | + android:textSize="@dimen/headline_text_size" |
| 44 | + android:textColor="@color/white" |
| 45 | + android:text="@string/please_continue_the_login_process_in_the_browser" |
| 46 | + /> |
50 | 47 |
|
51 |
| - <com.google.android.material.button.MaterialButton |
52 |
| - android:id="@+id/cancel_login_btn" |
53 |
| - android:layout_width="wrap_content" |
54 |
| - android:layout_height="wrap_content" |
55 |
| - android:layout_below="@id/cancel_desc" |
56 |
| - android:layout_marginTop="@dimen/standard_double_margin" |
57 |
| - android:layout_centerInParent="true" |
58 |
| - android:text="@string/cancel_login" |
59 |
| - /> |
| 48 | + <com.google.android.material.button.MaterialButton |
| 49 | + android:id="@+id/cancel_login_btn" |
| 50 | + android:layout_width="300dp" |
| 51 | + android:layout_height="wrap_content" |
| 52 | + android:layout_gravity="center" |
| 53 | + android:layout_marginTop="@dimen/standard_double_margin" |
| 54 | + android:text="@string/cancel_login" |
| 55 | + /> |
| 56 | + </LinearLayout> |
60 | 57 |
|
61 | 58 | </RelativeLayout>
|
0 commit comments