2017-04-25 16:44:13 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
tools:layout_marginTop="24dp"
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="16dp"
|
|
|
|
|
android:elevation="4dp"
|
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
tools:targetApi="lollipop">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:src="@mipmap/ic_launcher"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginLeft="24dp"
|
|
|
|
|
android:layout_marginRight="24dp"
|
|
|
|
|
android:src="@drawable/link_24dp"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/icon_client_app"
|
|
|
|
|
tools:src="@drawable/apps_k9"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!-- The parent properly determines the height of this scroll view, it is *not* useless -->
|
|
|
|
|
<ScrollView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:overScrollMode="ifContentScrolls"
|
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingLeft="24dp"
|
|
|
|
|
android:paddingRight="24dp"
|
|
|
|
|
android:paddingTop="24dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:id="@+id/insecure_warning_layout"
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/dialog_insecure_generic" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:gravity="end"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
tools:layout_marginBottom="50dp"
|
|
|
|
|
style="?buttonBarStyle">
|
|
|
|
|
|
2017-04-27 21:48:54 +02:00
|
|
|
<Button
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="View Key"
|
|
|
|
|
android:id="@+id/button_view_key"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible"
|
|
|
|
|
style="?buttonBarButtonStyle" />
|
|
|
|
|
|
2017-04-25 16:44:13 +02:00
|
|
|
<Button
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Got it"
|
|
|
|
|
android:id="@+id/button_allow"
|
|
|
|
|
style="?buttonBarButtonStyle" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|