-1

<android.support.v4.view.ViewPager
    android:id="@+id/vp_pager"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_above="@+id/st_tabs_main"
    android:layout_below="@+id/fl_toolbar" />

<in.lastlocal.l2v1.tabs.SlidingTabLayout
    android:id="@+id/st_tabs_main"
    android:layout_width="match_parent"
    android:clipChildren="true"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true" />
</RelativeLayout>`

This is simple xml I'm using for bottom title, stripped with view pager. But when I click edit text of fragment page, keyboard is popping and pushing SlidingTab layout with, which I don't want how to achieve that?

Logan Wayne
  • 6,001
  • 16
  • 31
  • 49
Lokesh Tiwari
  • 10,496
  • 3
  • 36
  • 45

1 Answers1

0

Try set android:windowSoftInputMode to adjustNothing or adjustPan in manifest at your activity.

    <activity
        android:windowSoftInputMode="adjustNothing"
        android:label="@string/app_name"/>
sunnyday
  • 2,671
  • 1
  • 13
  • 16