From de8f7d710d80b973d58b96d8997f637ca9cd2774 Mon Sep 17 00:00:00 2001 From: mcarare Date: Fri, 24 Apr 2020 17:10:58 +0300 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/10188: Fix xml indentations and properties order. --- .../app/src/main/res/layout/pbm_shortcut_popup.xml | 78 +++++++++++----------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/mobile/android/fenix/app/src/main/res/layout/pbm_shortcut_popup.xml b/mobile/android/fenix/app/src/main/res/layout/pbm_shortcut_popup.xml index f1e8a713d61b..70ae6f737b72 100644 --- a/mobile/android/fenix/app/src/main/res/layout/pbm_shortcut_popup.xml +++ b/mobile/android/fenix/app/src/main/res/layout/pbm_shortcut_popup.xml @@ -3,39 +3,39 @@ - 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/. --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + android:layout_width="16dp" + android:layout_height="16dp" + android:layout_gravity="end" + android:layout_marginEnd="16dp" + android:importantForAccessibility="no" + app:srcCompat="@drawable/ic_pbm_triangle" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@drawable/cfr_background_gradient"> + android:id="@+id/cfr_message" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:layout_marginTop="8dp" + android:layout_marginEnd="32dp" + android:lineSpacingExtra="2dp" + android:text="@string/cfr_message" + android:textColor="@color/primary_text_dark_theme" + android:textSize="16sp" + app:fontFamily="@font/metropolis_medium" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" />