diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /mobile/android/fenix/app/src/main/res/layout/account_auth_error_preference.xml | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip |
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/fenix/app/src/main/res/layout/account_auth_error_preference.xml')
-rw-r--r-- | mobile/android/fenix/app/src/main/res/layout/account_auth_error_preference.xml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/mobile/android/fenix/app/src/main/res/layout/account_auth_error_preference.xml b/mobile/android/fenix/app/src/main/res/layout/account_auth_error_preference.xml new file mode 100644 index 0000000000..dfb59e76d5 --- /dev/null +++ b/mobile/android/fenix/app/src/main/res/layout/account_auth_error_preference.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:background="@color/sync_error_background_color" + android:baselineAligned="false"> + + <FrameLayout + android:id="@+id/icon_frame" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <androidx.preference.internal.PreferenceImageView + android:id="@android:id/icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + app:maxWidth="48dp" + app:maxHeight="48dp"/> + </FrameLayout> + + <RelativeLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="15dp" + android:layout_marginEnd="6dp" + android:paddingStart="16dp" + android:paddingEnd="0dp" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:layout_weight="1"> + + <TextView + android:id="@+id/errorSummary" + android:text="@string/preferences_account_sync_error" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@color/sync_error_text_color" + android:textSize="16sp" + android:ellipsize="marquee" + android:fadingEdge="horizontal" + android:visibility="visible"/> + + <TextView + android:id="@+id/email" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@id/errorSummary" + android:layout_alignStart="@id/errorSummary" + android:textColor="@color/sync_error_text_color" + android:maxLines="4" + android:visibility="gone"/> + + </RelativeLayout> + + <LinearLayout + android:id="@android:id/widget_frame" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:orientation="vertical"/> + +</LinearLayout> |