android - ActionMode custom background -


how can change layout or background of actionmode ? there methodactionmode.getcustomview();but returns null . there suggestion?

you can change through styles.xml attribute

 <item name="android:actionmodebackground">@drawable/actionbar_background</item>  <item name="actionmodebackground">@drawable/actionbar_background</item> 

asaik changing programmatically not yet supported


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -