aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/import_keys_activity.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-06-18 00:03:06 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-06-18 00:03:06 +0200
commit8c7a360d6ed6875774c912e070cb18807e0e831d (patch)
tree1ee9bfe4f518a127270d2ad1bcfaf88f4f470d12 /OpenKeychain/src/main/res/layout/import_keys_activity.xml
parent21e9d0b7b4b0375c43287d4acd66ee01f2f1d5a0 (diff)
downloadopen-keychain-8c7a360d6ed6875774c912e070cb18807e0e831d.tar.gz
open-keychain-8c7a360d6ed6875774c912e070cb18807e0e831d.tar.bz2
open-keychain-8c7a360d6ed6875774c912e070cb18807e0e831d.zip
Redesign Import, still some todos and regression bugs
Diffstat (limited to 'OpenKeychain/src/main/res/layout/import_keys_activity.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/import_keys_activity.xml38
1 files changed, 28 insertions, 10 deletions
diff --git a/OpenKeychain/src/main/res/layout/import_keys_activity.xml b/OpenKeychain/src/main/res/layout/import_keys_activity.xml
index 0486b6bd6..fc9d21e23 100644
--- a/OpenKeychain/src/main/res/layout/import_keys_activity.xml
+++ b/OpenKeychain/src/main/res/layout/import_keys_activity.xml
@@ -3,7 +3,7 @@
android:id="@+id/content_frame"
android:layout_marginLeft="@dimen/drawer_content_padding"
android:layout_width="match_parent"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
@@ -12,21 +12,38 @@
android:layout_height="wrap_content"
android:orientation="vertical" />
- <FrameLayout
- android:id="@+id/import_navigation_fragment"
+ <org.sufficientlysecure.keychain.ui.widget.SlidingTabLayout
+ android:id="@+id/import_sliding_tab_layout"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" />
+ android:layout_height="wrap_content" />
+
+ <android.support.v4.view.ViewPager
+ android:id="@+id/import_pager"
+ android:layout_width="match_parent"
+ android:layout_height="64dp"
+ android:background="@android:color/white" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="2dip"
+ android:background="?android:attr/listDivider" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="16dp" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="2dip"
+ android:background="?android:attr/listDivider" />
<FrameLayout
android:id="@+id/import_keys_list_container"
android:layout_width="match_parent"
android:layout_height="0dp"
android:orientation="vertical"
- android:paddingTop="8dp"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
- android:layout_weight="0.9" />
+ android:layout_weight="1"
+ android:background="@android:color/white" />
<LinearLayout
android:id="@+id/import_footer"
@@ -34,7 +51,8 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="16dp"
- android:paddingRight="16dp">
+ android:paddingRight="16dp"
+ android:background="@android:color/white">
<View
android:layout_width="match_parent"