android - How to change the color of action-bar title? -


  एक्शनबार बार = getActionBar (); Bar.setTitle (R.string.title); // सेट एप्लिकेशन शीर्षक   

मैं अपने जावा कोड के माध्यम से अपना शीर्षक सेट कर रहा हूं। एक्शन-बार शीर्षक का रंग कैसे बदल सकता है <पूर्व> & lt; शैली का नाम = "एक्शनबार। पाठ। उदाहरण" अभिभावक = "@ एंड्रॉइड: शैली / टेक्स्ट ऍप्परेंस" & gt; & Lt; आइटम का नाम = "android: textcolor" & gt; @ रंग / क्रियाक्षेत्र टेक्स्ट & lt; / item & gt; & Lt; / शैली & gt; & Lt; शैली का नाम = "शीर्षक टेक्स्ट" अभिभावक = "@ एंड्रॉइड: शैली / टेक्स्ट ऍप्परेंस" & gt; & Lt; आइटम का नाम = "android: textcolor" & gt; @ एंड्रॉइड: रंग / सफेद & lt; / item & gt; & Lt; आइटम का नाम = "एंड्रॉइड: टेक्स्ट साइज़" & gt; 18dip & lt; / item & gt; & Lt; / शैली & gt; एंड्रॉइड डॉक्युमेंटेशन में एक्शनबार स्टाइल का उदाहरण है:

>

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -