2019-05-06 20:51:56 +00:00
|
|
|
<!-- 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/. -->
|
|
|
|
|
2019-05-14 22:00:01 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/pair_instructions_fragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?foundation"
|
2019-06-03 23:04:03 +00:00
|
|
|
android:padding="8dp">
|
2019-05-06 20:51:56 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
2019-05-14 22:00:01 +00:00
|
|
|
android:id="@+id/guideline"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical" />
|
2019-05-06 20:51:56 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-05-14 22:00:01 +00:00
|
|
|
android:id="@+id/pair_instructions_info"
|
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
android:drawableStart="@drawable/ic_qr"
|
|
|
|
android:text="@string/pair_instructions"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2019-05-06 20:51:56 +00:00
|
|
|
|
|
|
|
<Button
|
2019-05-14 22:00:01 +00:00
|
|
|
android:id="@+id/pair_cancel"
|
2019-06-03 23:04:03 +00:00
|
|
|
style="@style/SitePermissionCancelButton"
|
2019-05-14 22:00:01 +00:00
|
|
|
android:text="@string/pair_cancel"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/pair_open_camera"
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/pair_instructions_info" />
|
2019-05-06 20:51:56 +00:00
|
|
|
|
|
|
|
<Button
|
2019-05-14 22:00:01 +00:00
|
|
|
android:id="@+id/pair_open_camera"
|
2019-06-03 23:04:03 +00:00
|
|
|
style="@style/SitePermissionPrimaryButton"
|
2019-05-14 22:00:01 +00:00
|
|
|
android:text="@string/pair_open_camera"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/pair_cancel"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/pair_cancel" />
|
2019-05-06 20:51:56 +00:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|