title: How to change the height of the contextual action mode on lollipop and above device?
body: <p>I have implemented the floatingsearchview from <a href="https://github.com/arimorty/floatingsearchview" rel="nofollow noreferrer">here</a>. In my activity i am also having the action mode which is enable on long press on list item.On pre-lollipop the action mode overlays the whole searchview but on post lollipop devices it doesn't as seen in the pictures below</p>
  
  <p><a href="https://i.stack.imgur.com/2WQoj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2WQoj.png" alt="lollipop and above without action mode"></a></p>
  
  <p><a href="https://i.stack.imgur.com/G1AIF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G1AIF.png" alt="Pre-lollipop without action mode "></a></p>
  
  <p><a href="https://i.stack.imgur.com/FRR3B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FRR3B.png" alt="Pre-lollipop with action mode which is correct behavior"></a></p>
  
  <p>The problem is highlighted in below image.</p>
  
  <p><a href="https://i.stack.imgur.com/VQMre.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VQMre.png" alt="lollipop and above with action mode Problem"></a></p>
  
  <p>So i want to increase the height of the action mode how can i do it.Well i already tried with styles attribute in style file.My activity current used style is shown below.</p>
  
  <pre><code>&lt;style name="AppTheme.ContexualActionMode"&gt;
  
      &lt;!-- Customize your theme here. --&gt;
      &lt;item name="colorPrimary"&gt;@color/primary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/primary_dark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/accent&lt;/item&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="colorButtonNormal"&gt;@color/primary&lt;/item&gt;
      &lt;item name="windowActionModeOverlay"&gt;true&lt;/item&gt;
      &lt;item name="android:actionModeBackground"&gt;@color/actionModeBachgroundColor&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>I also tried this but no solution.</p>
  
  <pre><code>&lt;style name="Widget.ActionModeStyle" parent="@style/Widget.AppCompat.ActionMode"&gt;
  &lt;item name="android:background"&gt;@drawable/action_mode_background&lt;/item&gt;
  &lt;item name="titleTextStyle"&gt;@style/TitleTextStyle&lt;/item&gt;
  &lt;item name="android:height"&gt;70dp&lt;/item&gt;&lt;!--or something--&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>with activity style</p>
  
  <pre><code>&lt;style name="AppTheme.ContexualActionMode"&gt;
  
      &lt;!-- Customize your theme here. --&gt;
      &lt;item name="colorPrimary"&gt;@color/primary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/primary_dark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/accent&lt;/item&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="colorButtonNormal"&gt;@color/primary&lt;/item&gt;
      &lt;item name="windowActionModeOverlay"&gt;true&lt;/item&gt;
      &lt;item name="android:actionModeStyle"&gt;@Widget.ActionModeStyle&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>can any one help me please.</p>