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? -

html - Unable to style the color of bullets in a list -

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