android - Why keyboard appear after the TabBar? -
android - Why keyboard appear after the TabBar? -
in application there tabbar , edittext.
see below image:
normal screen:
and image after press on edittext:
now why tabbar goes keyboard. want remain prepare @ bottom if user open keyboard pressing on edittext.
so should have ?
please help e ?
my xml layout tabbarmain activity below:
<?xml version="1.0" encoding="utf-8"?> <tabhost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="wrap_content" > <linearlayout android:id="@+id/ll1" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" > <framelayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" /> <tabwidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_weight="0"/> </linearlayout> </tabhost>
so please help me that.
thanks.
please utilize
android:windowsoftinputmode="adjustpan"
in android menifest.xml file in activity.
example..
<activity android:name="youractivity" android:windowsoftinputmode="adjustpan"/>
android android-layout android-intent tabbar tabwidget
Comments
Post a Comment