I am using adjustPan for windowSoftInputMode which is the requirement. Here how it seems like in Manifest file:
<activity android:name=".feature.dashboard.products.view.AddVariantsActivity"
android:windowSoftInputMode="adjustPan" />
This is how my activity xml code look like
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white">
<ExpandableListView
android:id="@+id/elvAddVariants"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="@color/white"
android:groupIndicator="@null"
android:dividerHeight="@dimen/margin_medium_l"
android:childDivider="@android:color/transparent">
</ExpandableListView>
</FrameLayout>
</layout>
Everything works fine but problem is that keyboard appears up on top of ExpandableListView so I cant see the last few entries if keyboard is visible. How can i fix this issue without changing android:windowSoftInputMode?
from ExpandableListView hides behind the Soft keyboard if i use adjustPan - Android
No comments:
Post a Comment