android - How can I customize the Action Mode's color and text? -


the default action mode (3.0 , up) comes green theme , 'done' button on left side. how can customize these?

thanks

this style used actionmode, pulled sdk. you'll need create own style customize it. it's easy do. if you've never done before, should read through this post on customizing actionbar. explains you'll need know.

    <style name="widget.actionmode">     <item name="android:background">?android:attr/actionmodebackground</item>     <item name="android:backgroundsplit">?android:attr/actionmodesplitbackground</item>     <item name="android:height">?android:attr/actionbarsize</item>     <item name="android:titletextstyle">@android:style/textappearance.widget.actionmode.title</item>     <item name="android:subtitletextstyle">@android:style/textappearance.widget.actionmode.subtitle</item>     </style> 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -