Add a thin line on the top of Action bar Android -
I would like to add a thin line with purple on top of my verb bar like this:
UPDATE
Here's my theme . Code of Xml:
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Resources xmlns: Android = "http://schemas.android.com/apk/res/android" & gt; & Lt; Style name = "Myethem" Original = "@Android: Style / Theme. Halo. Light" & gt; & Lt; Item name = "android: actionBarStyle" & gt; @ Style / myactionbar & lt; / Item & gt; & Lt; / Style & gt; & Lt; Style name = "MyActionBar" Basic = "@Android: Style / Widget.Holow light.actionbora" & gt; & Lt; Item name = "Android: Background" & gt; # 00000000 & lt; / Item & gt; & Lt; Item name = "android: titleTextStyle" & gt; @Style / MyActionBarTTTAL Text & lt; / Item & gt; & Lt; / Style & gt; & Lt; Style name = "MyActionBarTitleText" & gt; & Lt; Item name = "Android: text size" & gt; 19sp & lt; / Item & gt; & Lt; Item name = "Android: text cloak" & gt; @color / related timerbugs & lt; / Item & gt; & Lt; Item name = "Android: gravity" & gt; Center & lt; / Item & gt; & Lt; / Style & gt; & Lt; / Resources & gt;
How can I do this?
You setbackgrounddriver
on the actionbars
Can create patch drawables which will come out to look like this.
Edit: To add styles.xml to XML,
add the app topic
and
Comments
Post a Comment