aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/first_time_activity.xml
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-07-26 23:06:32 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2014-07-26 23:06:32 +0200
commit8132b9ac745f6eedd4a7746f1e67358a61e9e4a7 (patch)
treef1c8c520a449f3ef306e1e1e7e2b1bc70a3240ad /OpenKeychain/src/main/res/layout/first_time_activity.xml
parentd8f278229352a58dbdcf49bb65538249f8c4ccc0 (diff)
parent45722d7cfbb2996ff994b3f2143e5871c2e564ba (diff)
downloadopen-keychain-8132b9ac745f6eedd4a7746f1e67358a61e9e4a7.tar.gz
open-keychain-8132b9ac745f6eedd4a7746f1e67358a61e9e4a7.tar.bz2
open-keychain-8132b9ac745f6eedd4a7746f1e67358a61e9e4a7.zip
Merge branch 'master' into ditch-appmsg
Conflicts: OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyActivityOld.java OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/KeyListActivity.java
Diffstat (limited to 'OpenKeychain/src/main/res/layout/first_time_activity.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/first_time_activity.xml89
1 files changed, 89 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/first_time_activity.xml b/OpenKeychain/src/main/res/layout/first_time_activity.xml
new file mode 100644
index 000000000..514f34212
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout/first_time_activity.xml
@@ -0,0 +1,89 @@
+<?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"
+ android:paddingTop="16dp"
+ android:paddingBottom="8dp">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ 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_marginLeft="64dp"
+ android:layout_marginRight="64dp"
+ android:layout_marginTop="16dp"
+ android:layout_marginBottom="16dp"
+ android:layout_height="256dp"
+ android:src="@drawable/first_time_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" />
+
+
+ </LinearLayout>
+
+ <Button
+ android:id="@+id/first_time_cancel"
+ android:layout_alignParentBottom="true"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="8dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:text="@string/first_time_skip"
+ android:background="@drawable/button_edgy" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@id/first_time_cancel"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/first_time_create_key"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_weight="1"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:text="@string/first_time_create_key"
+ android:background="@drawable/button_edgy"
+ android:drawableLeft="@drawable/ic_action_new_account" />
+
+ <Button
+ android:id="@+id/first_time_import_key"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:text="@string/first_time_import_key"
+ android:background="@drawable/button_edgy"
+ android:drawableLeft="@drawable/ic_action_download" />
+ </LinearLayout>
+
+
+</RelativeLayout>