[fenix] For https://github.com/mozilla-mobile/fenix/issues/10188: Fix xml indentation...
[gecko.git] / mobile / android / fenix / app / src / main / res / layout / pbm_shortcut_popup.xml
blob70ae6f737b724ac64e942e890dc6d581e01ec239
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this
4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
6     xmlns:app="http://schemas.android.com/apk/res-auto"
7     android:layout_width="match_parent"
8     android:layout_height="match_parent"
9     android:orientation="vertical">
11     <ImageView
12         android:layout_width="16dp"
13         android:layout_height="16dp"
14         android:layout_gravity="end"
15         android:layout_marginEnd="16dp"
16         android:importantForAccessibility="no"
17         app:srcCompat="@drawable/ic_pbm_triangle" />
19     <androidx.constraintlayout.widget.ConstraintLayout
20         android:layout_width="match_parent"
21         android:layout_height="wrap_content"
22         android:background="@drawable/cfr_background_gradient">
24         <TextView
25             android:id="@+id/cfr_message"
26             android:layout_width="0dp"
27             android:layout_height="wrap_content"
28             android:layout_marginStart="16dp"
29             android:layout_marginTop="8dp"
30             android:layout_marginEnd="32dp"
31             android:lineSpacingExtra="2dp"
32             android:text="@string/cfr_message"
33             android:textColor="@color/primary_text_dark_theme"
34             android:textSize="16sp"
35             app:fontFamily="@font/metropolis_medium"
36             app:layout_constraintEnd_toEndOf="parent"
37             app:layout_constraintStart_toStartOf="parent"
38             app:layout_constraintTop_toTopOf="parent" />
40         <Button
41             android:id="@+id/cfr_pos_button"
42             style="@style/MetropolisButton"
43             android:layout_width="0dp"
44             android:layout_height="36dp"
45             android:layout_marginStart="16dp"
46             android:layout_marginTop="16dp"
47             android:layout_marginEnd="16dp"
48             android:background="@drawable/rounded_gray_corners"
49             android:text="@string/cfr_pos_button_text"
50             android:textAllCaps="false"
51             android:textColor="@color/above_dark_theme"
52             android:textSize="16sp"
53             app:layout_constraintBottom_toBottomOf="parent"
54             app:layout_constraintEnd_toEndOf="parent"
55             app:layout_constraintStart_toStartOf="parent"
56             app:layout_constraintTop_toBottomOf="@id/cfr_message" />
58         <Button
59             android:id="@+id/cfr_neg_button"
60             style="@style/MetropolisButton"
61             android:layout_width="wrap_content"
62             android:layout_height="wrap_content"
63             android:background="@android:color/transparent"
64             android:text="@string/cfr_neg_button_text"
65             android:textAllCaps="false"
66             android:textColor="@color/white_color"
67             android:textSize="16sp"
68             app:layout_constraintEnd_toEndOf="parent"
69             app:layout_constraintStart_toStartOf="parent"
70             app:layout_constraintTop_toBottomOf="@id/cfr_pos_button" />
71     </androidx.constraintlayout.widget.ConstraintLayout>
72 </LinearLayout>