android - search view expanding many pixels to the bottom on click in tool bar -


!http://s12.postimg.org/5na33aggt/screenshot_2015_09_25_23_04_51.png

the link above shows problem facing...i using tool bar in kitkat version , in v-19 styles.xml file windowtranslucentstatus attribute has been set true...the status bar , tool bar showing expected when expand search view widget tool bar expands down bottom..

my v-19\styles.xml

 <style name="apptheme" parent="apptheme.base">      <item name="windownotitle">true</item>     <item name="windowactionbar">false</item>     <item name="colorprimary">@color/primarycolor</item>     <item name="colorprimarydark">@color/primarycolordark</item>     <item name="coloraccent">@color/accentcolor</item>     <item name="android:windowtranslucentstatus">true</item> </style>  

my app_bar.xml

<android.support.v7.widget.toolbar     xmlns:app="http://schemas.android.com/apk/res/android"    app:background="?attr/colorprimary"    app:theme="@style/themeoverlay.appcompat.dark.actionbar"    app:popuptheme="@style/themeoverlay.appcompat.light"    app:fitssystemwindows="true"    app:minheight="?attr/actionbarsize"    app:layout_height="wrap_content"    app:layout_width="match_parent">   </android.support.v7.widget.toolbar> 

and activity layout tool bar included

 <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"        android:orientation="vertical"       android:layout_width="match_parent"       android:layout_height="match_parent">  <include     android:id="@+id/app_bar"     layout="@layout/app_bar"> </include>    <linearlayout     android:id="@+id/cardlistplaces_layout"     android:orientation="vertical"     android:layout_width="match_parent"     android:layout_height="match_parent">   </linearlayout>   </linearlayout> 

if can me appreciated...


Comments