2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00
iceraven-browser/app/src/main/res/layout/fragment_pair_instructions.xml

49 lines
2.1 KiB
XML
Raw Normal View History

<!-- 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">
<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" />
<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" />
<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" />
<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" />
</androidx.constraintlayout.widget.ConstraintLayout>