|
|
@ -1,9 +1,9 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.camera.CameraView
|
|
|
|
<org.thoughtcrime.securesms.components.camera.CameraView
|
|
|
|
android:id="@+id/cameraView"
|
|
|
|
android:id="@+id/cameraView"
|
|
|
@ -16,23 +16,24 @@
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:weightSum="2" >
|
|
|
|
android:weightSum="3" >
|
|
|
|
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.ShapeScrim
|
|
|
|
<org.thoughtcrime.securesms.components.ShapeScrim
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_weight="2"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
android:layout_height="0dp"/>
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/descriptionTextView"
|
|
|
|
android:id="@+id/messageTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:padding="32dp"
|
|
|
|
android:padding="@dimen/very_large_spacing"
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:background="@color/loki_darkest_gray"
|
|
|
|
android:text="Scan a user’s QR code to start a session. QR codes can be found by tapping the QR code icon in account settings."
|
|
|
|
android:text="@string/fragment_scan_qr_code_explanation_new_conversation"
|
|
|
|
android:background="?android:windowBackground"
|
|
|
|
android:textColor="?android:textColorPrimary" />
|
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
|
|
|
|
android:textColor="?android:textColorTertiary" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|