mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-04 23:45:14 +00:00
b89c20ff40
We can do this now that our minSdk is 19.
88 lines
3.6 KiB
XML
88 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_devices_white"
|
|
android:transitionName="devices"
|
|
android:tint="@color/gray27"
|
|
android:layout_marginBottom="25dp"
|
|
android:contentDescription="@string/device_link_fragment__link_device"/>
|
|
|
|
<android.support.v7.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="25dp"
|
|
android:layout_marginEnd="25dp">
|
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:background="?device_link_item_card_background">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:textStyle="bold"
|
|
android:text="@string/DeviceProvisioningActivity_link_this_device"
|
|
android:textSize="16sp"/>
|
|
|
|
<View android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="#1E000000"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:text="@string/DeviceProvisioningActivity_content_intro"
|
|
android:textSize="14sp"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:text="@string/DeviceProvisioningActivity_content_bullets"
|
|
android:textSize="14sp"/>
|
|
|
|
<View android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="#1E000000"/>
|
|
|
|
<LinearLayout android:id="@+id/link_device"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true">
|
|
|
|
<ImageView android:id="@+id/check"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:src="@drawable/ic_check_white_24dp"
|
|
android:tint="@color/blue_400"
|
|
android:clickable="false"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:textColor="@color/blue_400"
|
|
android:text="@string/device_link_fragment__link_device"
|
|
android:clickable="false"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
</LinearLayout> |