open-keychain/OpenKeychain/src/main/res/layout/first_time_activity.xml

133 lines
5.2 KiB
XML
Raw Normal View History

2014-07-16 09:49:37 +02:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-07-27 18:12:14 +02:00
android:paddingTop="16dp">
2014-07-16 09:49:37 +02:00
<LinearLayout
2014-07-27 17:56:52 +02:00
android:id="@+id/first_time_buttons"
2014-07-16 09:49:37 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2014-07-27 18:12:14 +02:00
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:layout_alignParentBottom="true"
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="?android:attr/listDivider" />
2014-07-16 09:49:37 +02:00
2014-07-27 18:12:14 +02:00
<LinearLayout
2014-07-16 09:49:37 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2014-07-27 18:12:14 +02:00
android:orientation="horizontal">
<TextView
2014-07-30 17:47:17 +02:00
android:id="@+id/first_time_import_key"
2014-07-27 18:12:14 +02:00
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
2014-07-30 17:47:17 +02:00
android:text="@string/first_time_import_key"
2014-07-27 18:12:14 +02:00
android:minHeight="?android:attr/listPreferredItemHeight"
2014-07-31 23:13:29 +02:00
android:drawableRight="@drawable/ic_action_collection"
2014-07-27 18:12:14 +02:00
android:drawablePadding="8dp"
android:gravity="center_vertical"
2014-07-31 23:13:29 +02:00
android:layout_gravity="center_vertical"
2014-07-27 18:12:14 +02:00
android:clickable="true"
style="@style/SelectableItem" />
2014-07-16 09:49:37 +02:00
2014-07-27 18:12:14 +02:00
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:background="?android:attr/listDivider" />
<TextView
2014-07-30 17:47:17 +02:00
android:id="@+id/first_time_create_key"
2014-07-27 18:12:14 +02:00
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
2014-07-30 17:47:17 +02:00
android:text="@string/first_time_create_key"
2014-07-27 18:12:14 +02:00
android:minHeight="?android:attr/listPreferredItemHeight"
2014-07-30 17:47:17 +02:00
android:drawableRight="@drawable/ic_action_new_account"
2014-07-27 18:12:14 +02:00
android:drawablePadding="8dp"
android:gravity="center_vertical"
2014-07-31 23:13:29 +02:00
android:layout_gravity="center_vertical"
2014-07-27 18:12:14 +02:00
android:clickable="true"
style="@style/SelectableItem" />
2014-07-30 17:47:17 +02:00
2014-07-27 18:12:14 +02:00
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="?android:attr/listDivider" />
<TextView
android:id="@+id/first_time_cancel"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:textAppearance="?android:attr/textAppearanceMedium"
2014-07-16 09:49:37 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2014-07-27 18:12:14 +02:00
android:text="@string/first_time_skip"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center"
android:clickable="true"
style="@style/SelectableItem"
android:layout_gravity="center_horizontal" />
2014-07-16 09:49:37 +02:00
</LinearLayout>
2014-07-27 17:56:52 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_above="@+id/first_time_buttons">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/app_name"
android:drawableLeft="@drawable/ic_launcher"
android:drawablePadding="16dp"
android:gravity="center"
android:layout_gravity="center_horizontal" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:adjustViewBounds="true"
android:src="@drawable/first_time_1"
android:layout_gravity="center_horizontal"
android:layout_weight="1" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="64dp"
android:layout_marginRight="64dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/first_time_text1"
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
android:layout_marginBottom="16dp" />
</LinearLayout>
2014-07-16 09:49:37 +02:00
</RelativeLayout>