Android-theme Modify the background color of the more drop-down box in Actionmode

Source: Internet
Author: User

Today in the library modification is, need to modify the library Actionbar a button pop out of the background color of the drop-down box, in the online find a way to try, did not hit their own requirements, but quirks modified the more dropdown box background, record again, maybe later can use.

  Code

   <style name= "Theme.funuigallery" parent= "Android:Theme.Funui" > <item name= "Listpreferreditemheightsmall        ">48dp</item> <item name=" android:itemtextappearance "> @style/gallery.iconmenu.item</item> <item name= "Switchstyle" > @android:style/widget.compoundbutton</item> <item name= "Android:actionBa Rstyle "> @style/photobarstyle</item> <item name=" Android:actionmodestyle "> @style/actionmodestyle        </item> <item name= "Android:actionoverflowbuttonstyle" > @style/contactsactionbaroverflow</item> <item name= "Android:actionmodesplitbackground" > @android:d rawable/ic_menu_close_clear_cancel</item> & lt;/style><!--Modify Font Color-<style name= "Gallery.IconMenu.Item" parent= "@android: style/ Textappearance.small "> <item name=" Android:textcolor "> #ffffff </item> </style><!--Modify More Press CHANGTU--<style name= "Contactsactionbaroverflow"Parent=" @android: Style/widget.holo.actionbutton.overflow "> <item name=" android:src "> @drawable/action_ Mode_more</item> </style>

However, as to what it is changing the menu, it is not very clear, save later found it.

Android-theme Modify the background color of the more drop-down box in Actionmode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.