When I click on a menu item in my Android app, I get this nested box inside 
the highlighted item:

<https://lh3.googleusercontent.com/-C7-4qvBTKyY/V1y-cKEajjI/AAAAAAAAAhU/5owmwapolDYp7wxT8GYGKbDISA3SGtz_QCLcB/s1600/XX4gC.png>


I have this in my styles.xml

<style name="AppTheme.PopupOverlay"
     parent="ThemeOverlay.AppCompat.Dark">
  <item name="android:textColor">@color/textColorPrimaryLight</item>
  <item name="android:textColorPrimary">@color/textColorPrimaryLight</item>
  <item name="android:textColorSecondary">@color/textColorSecondaryLight</item>
  <item name="colorAccent">@color/colorAccent</item></style>

and this in colors.xml

<color name="colorPrimary">#F39300</color><color 
name="colorPrimaryDark">#FDAE09</color><color 
name="colorStatusBar">#e3f39300</color><color 
name="colorAccent">#FF4081</color><color 
name="colorError">#d50000</color><color name="colorEmergency">#ff8a80</color>

and I am using this for the ActionBar

<android.support.v7.widget.Toolbar
  android:id="@+id/toolbar"
  android:layout_width="match_parent"
  android:layout_height="?attr/actionBarSize"
  android:animateLayoutChanges="true"
  app:popupTheme="@style/AppTheme.PopupOverlay"
  app:title="@string/app_name"
  tools:ignore="UnusedAttribute" />

Any ideas on how to remove this item so when I click on the menu item, it 
is highlighted like a button does?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/34011e63-beaf-4cc3-98a3-39766a68f1a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to