2019-12-18 13:31:12 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
2020-08-21 05:06:39 +00:00
|
|
|
android:layout_height="match_parent">
|
2019-12-18 13:31:12 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:layout_centerInParent="true">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/text"
|
2020-06-03 05:31:49 +00:00
|
|
|
android:layout_marginLeft="@dimen/very_large_spacing"
|
|
|
|
android:layout_marginRight="@dimen/very_large_spacing"
|
2019-12-18 13:31:12 +00:00
|
|
|
android:textSize="@dimen/small_font_size"
|
2020-06-03 05:31:49 +00:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:text="@string/fragment_scan_qr_code_camera_access_explanation" />
|
2019-12-18 13:31:12 +00:00
|
|
|
|
|
|
|
<Button
|
2020-08-24 06:46:12 +00:00
|
|
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
2019-12-18 13:31:12 +00:00
|
|
|
android:id="@+id/grantCameraAccessButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/medium_button_height"
|
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
|
|
android:paddingLeft="@dimen/medium_spacing"
|
|
|
|
android:paddingRight="@dimen/medium_spacing"
|
2020-06-03 05:31:49 +00:00
|
|
|
android:text="@string/fragment_scan_qr_code_grant_camera_access_button_title" />
|
2019-12-18 13:31:12 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|