aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/encrypt_content.xml
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/src/main/res/layout/encrypt_content.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/encrypt_content.xml16
1 files changed, 4 insertions, 12 deletions
diff --git a/OpenKeychain/src/main/res/layout/encrypt_content.xml b/OpenKeychain/src/main/res/layout/encrypt_content.xml
index e719d07e1..ec71b25e5 100644
--- a/OpenKeychain/src/main/res/layout/encrypt_content.xml
+++ b/OpenKeychain/src/main/res/layout/encrypt_content.xml
@@ -6,19 +6,12 @@
android:layout_height="match_parent"
android:orientation="vertical">
- <android.support.v4.view.ViewPager
+ <org.sufficientlysecure.keychain.ui.widget.NoSwipeWrapContentViewPager
android:id="@+id/encrypt_pager_mode"
android:layout_width="match_parent"
- android:layout_height="150dp">
+ android:layout_height="wrap_content">
- <android.support.v4.view.PagerTabStrip
- android:id="@+id/encrypt_pager_tab_strip_mode"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="top"
- android:background="@color/emphasis"
- android:textColor="#fff" />
- </android.support.v4.view.ViewPager>
+ </org.sufficientlysecure.keychain.ui.widget.NoSwipeWrapContentViewPager>
<android.support.v4.view.ViewPager
android:id="@+id/encrypt_pager_content"
@@ -30,8 +23,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
- android:background="@color/emphasis"
- android:textColor="#fff" />
+ android:textColor="@color/emphasis" />
</android.support.v4.view.ViewPager>
</LinearLayout> \ No newline at end of file