Merge pull request #1285 from Bnyro/master

fix bottom nav moving with keyboard
This commit is contained in:
Bnyro 2022-09-12 14:56:13 +02:00 committed by GitHub
commit e5d38d69c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 9 deletions

View File

@ -48,7 +48,8 @@
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:launchMode="singleTop" android:launchMode="singleTop"
android:screenOrientation="user" android:screenOrientation="user"
android:supportsPictureInPicture="true"> android:supportsPictureInPicture="true"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -65,7 +66,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_gradient_round" android:roundIcon="@mipmap/ic_gradient_round"
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
android:targetActivity=".activities.MainActivity"> android:targetActivity=".activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -82,7 +84,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_fire_round" android:roundIcon="@mipmap/ic_fire_round"
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
android:targetActivity=".activities.MainActivity"> android:targetActivity=".activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -99,7 +102,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_flame_round" android:roundIcon="@mipmap/ic_flame_round"
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
android:targetActivity=".activities.MainActivity"> android:targetActivity=".activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -116,7 +120,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_shaped_round" android:roundIcon="@mipmap/ic_shaped_round"
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
android:targetActivity=".activities.MainActivity"> android:targetActivity=".activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -133,7 +138,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_torch_round" android:roundIcon="@mipmap/ic_torch_round"
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
android:targetActivity=".activities.MainActivity"> android:targetActivity=".activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -150,7 +156,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_legacy_round" android:roundIcon="@mipmap/ic_legacy_round"
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
android:targetActivity=".activities.MainActivity"> android:targetActivity=".activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
@ -167,7 +174,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_bird_round" android:roundIcon="@mipmap/ic_bird_round"
android:supportsPictureInPicture="true" android:supportsPictureInPicture="true"
android:targetActivity=".activities.MainActivity"> android:targetActivity=".activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />

View File

@ -56,7 +56,7 @@ internal class CustomExoPlayerView(
*/ */
var autoplayEnabled = PreferenceHelper.getBoolean( var autoplayEnabled = PreferenceHelper.getBoolean(
PreferenceKeys.AUTO_PLAY, PreferenceKeys.AUTO_PLAY,
false true
) )
private val seekIncrement = PreferenceHelper.getString( private val seekIncrement = PreferenceHelper.getString(