java - Error CoordinatorLayout -


xml:

<?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.coordinatorlayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical">       <android.support.design.widget.appbarlayout         android:id="@+id/appbar"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:fitssystemwindows="true">          <android.support.v7.widget.toolbar             android:id="@+id/toolbar"             android:layout_width="match_parent"             android:layout_height="wrap_content"             android:background="?attr/colorprimary"             android:minheight="?attr/actionbarsize"             app:layout_scrollflags="scroll|enteralways"             app:theme="@style/themeoverlay.appcompat.dark.actionbar"             app:popuptheme="@style/themeoverlay.appcompat.light" />      </android.support.design.widget.appbarlayout>      <linearlayout         android:layout_width="match_parent"         android:layout_height="match_parent"         android:orientation="vertical"         app:layout_behavior="@string/appbar_scrolling_view_behavior">          <linearlayout             android:layout_width="match_parent"             android:layout_height="wrap_content"             android:orientation="vertical">              // conteudo linear layout          </linearlayout>          <framelayout             android:layout_width="wrap_content"             android:layout_height="wrap_content">              <android.support.v7.widget.recyclerview                 android:id="@+id/recyclerviewlistaclientes"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:background="@color/white"                 android:cachecolorhint="@android:color/transparent"                 android:cliptopadding="false"                 android:divider="@null"                 android:dividerheight="0dp"                 android:listselector="@android:color/transparent"                 android:scrollbarstyle="outsideoverlay"                 android:scrollbars="vertical" />              <progressbar                 android:id="@+id/progressbar"                 style="@android:style/widget.progressbar.large"                 android:layout_width="match_parent"                 android:layout_height="match_parent"                 android:layout_gravity="center|center_vertical"                 android:layout_marginright="6dp"                 android:visibility="invisible" />          </framelayout>     </linearlayout>  </android.support.design.widget.coordinatorlayout> 

add in activity manifest:

android:windowsoftinputmode="adjustpan" 

i brazilian. sorry english

when keyboard opens , toolbar hidden, toolbar disappears.

this happens when keyboard open , toolbar hidden.

before open keyboard :

image before

after open keyboard :

image after - bug


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -