diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-02-27 23:24:04 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-02-27 23:24:04 +0100 |
commit | b1c8fa347162825e603e44781efa1446181a1218 (patch) | |
tree | e92fe1df9f826409c5054d9bd474d378ee9ea6d6 /OpenKeychain/src/main/res/layout/key_list_fragment.xml | |
parent | 5b1d834f91c4b68929ad08fb9617152268999f6c (diff) | |
download | open-keychain-b1c8fa347162825e603e44781efa1446181a1218.tar.gz open-keychain-b1c8fa347162825e603e44781efa1446181a1218.tar.bz2 open-keychain-b1c8fa347162825e603e44781efa1446181a1218.zip |
Fix keyboard overlay bug on top of edittexts
Diffstat (limited to 'OpenKeychain/src/main/res/layout/key_list_fragment.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/key_list_fragment.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/res/layout/key_list_fragment.xml b/OpenKeychain/src/main/res/layout/key_list_fragment.xml index 3c46b4f9c..bdebf2ea7 100644 --- a/OpenKeychain/src/main/res/layout/key_list_fragment.xml +++ b/OpenKeychain/src/main/res/layout/key_list_fragment.xml @@ -1,10 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:fab="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android" + android:fitsSystemWindows="true" + android:layout_marginTop="-25dp" android:layout_height="match_parent" android:layout_width="match_parent"> - <org.sufficientlysecure.keychain.ui.widget.ListAwareSwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" + <!-- + fitsSystemWindows and layout_marginTop from + https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705 + --> + + <org.sufficientlysecure.keychain.ui.widget.ListAwareSwipeRefreshLayout android:id="@+id/key_list_swipe_container" android:layout_width="match_parent" android:layout_height="match_parent" |