mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Fix keyboard overlay bug on top of edittexts
This commit is contained in:
parent
5b1d834f91
commit
b1c8fa3471
@ -95,7 +95,7 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".ui.CreateKeyActivity"
|
android:name=".ui.CreateKeyActivity"
|
||||||
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
|
||||||
android:windowSoftInputMode="stateHidden"
|
android:windowSoftInputMode="stateHidden|adjustResize"
|
||||||
android:label="@string/title_create_key"
|
android:label="@string/title_create_key"
|
||||||
android:parentActivityName=".ui.MainActivity">
|
android:parentActivityName=".ui.MainActivity">
|
||||||
<meta-data
|
<meta-data
|
||||||
|
@ -7,8 +7,14 @@
|
|||||||
android:id="@+id/toolbar_include"
|
android:id="@+id/toolbar_include"
|
||||||
layout="@layout/toolbar_standalone" />
|
layout="@layout/toolbar_standalone" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
fitsSystemWindows and layout_marginTop from
|
||||||
|
https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705
|
||||||
|
-->
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_below="@id/toolbar_include"
|
android:layout_below="@id/toolbar_include"
|
||||||
|
android:fitsSystemWindows="true"
|
||||||
|
android:layout_marginTop="-25dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:fillViewport="false"
|
android:fillViewport="true"
|
||||||
android:layout_above="@+id/create_key_button_divider">
|
android:layout_above="@+id/create_key_button_divider">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -7,8 +7,14 @@
|
|||||||
android:id="@+id/toolbar_include"
|
android:id="@+id/toolbar_include"
|
||||||
layout="@layout/toolbar_standalone" />
|
layout="@layout/toolbar_standalone" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
fitsSystemWindows and layout_marginTop from
|
||||||
|
https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705
|
||||||
|
-->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_below="@id/toolbar_include"
|
android:layout_below="@id/toolbar_include"
|
||||||
|
android:fitsSystemWindows="true"
|
||||||
|
android:layout_marginTop="-25dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
@ -6,9 +6,15 @@
|
|||||||
<include
|
<include
|
||||||
android:id="@+id/toolbar_include"
|
android:id="@+id/toolbar_include"
|
||||||
layout="@layout/toolbar_standalone" />
|
layout="@layout/toolbar_standalone" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
fitsSystemWindows and layout_marginTop from
|
||||||
|
https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705
|
||||||
|
-->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_below="@id/toolbar_include"
|
android:layout_below="@id/toolbar_include"
|
||||||
|
android:fitsSystemWindows="true"
|
||||||
|
android:layout_marginTop="-25dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
@ -7,9 +7,15 @@
|
|||||||
android:id="@+id/toolbar_include"
|
android:id="@+id/toolbar_include"
|
||||||
layout="@layout/toolbar_standalone" />
|
layout="@layout/toolbar_standalone" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
fitsSystemWindows and layout_marginTop from
|
||||||
|
https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705
|
||||||
|
-->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_below="@id/toolbar_include"
|
android:layout_below="@id/toolbar_include"
|
||||||
android:id="@+id/content_frame"
|
android:id="@+id/content_frame"
|
||||||
|
android:fitsSystemWindows="true"
|
||||||
|
android:layout_marginTop="-25dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
@ -7,9 +7,15 @@
|
|||||||
android:id="@+id/toolbar_include"
|
android:id="@+id/toolbar_include"
|
||||||
layout="@layout/toolbar_standalone" />
|
layout="@layout/toolbar_standalone" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
fitsSystemWindows and layout_marginTop from
|
||||||
|
https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705
|
||||||
|
-->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_below="@id/toolbar_include"
|
android:layout_below="@id/toolbar_include"
|
||||||
android:id="@+id/content_frame"
|
android:id="@+id/content_frame"
|
||||||
|
android:fitsSystemWindows="true"
|
||||||
|
android:layout_marginTop="-25dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
@ -7,8 +7,14 @@
|
|||||||
android:id="@+id/toolbar_include"
|
android:id="@+id/toolbar_include"
|
||||||
layout="@layout/toolbar_standalone" />
|
layout="@layout/toolbar_standalone" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
fitsSystemWindows and layout_marginTop from
|
||||||
|
https://medium.com/@ngdelamo/using-drawerlayout-the-material-way-i-716bba2b5705
|
||||||
|
-->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_below="@id/toolbar_include"
|
android:layout_below="@id/toolbar_include"
|
||||||
|
android:fitsSystemWindows="true"
|
||||||
|
android:layout_marginTop="-25dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
@ -1,10 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:fab="http://schemas.android.com/apk/res-auto"
|
<RelativeLayout xmlns:fab="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:fitsSystemWindows="true"
|
||||||
|
android:layout_marginTop="-25dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="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:id="@+id/key_list_swipe_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user