android - Custom background for an ActionBar Item -
i set custom background/drwable action bar item. ideally have "save job" thing "white text on dark blue" button.
any hint ?
basic editting of action bar items straight from: http://developer.android.com/training/basics/actionbar/adding-buttons.html
<!-- settings, should in overflow --> <item android:id="@+id/save_job" //save job button android:textcolorolor="your hex color" //whatever color want android:background="@drawable/yourbackground" //whatever picture want android:showasaction="always" />
the yourbackground
located in drawable folder, , hex color in fashion #ffffff
.
Comments
Post a Comment