How (if possible) could I set a custom font in a ActionBar title text(only – not the tab text) with a font in my assets folder? I don’t want...
I need to know the exact size of ActionBar in pixels so to apply correct background image. 14 Answers 14
Details: I’m extending ActionBarActivity. Eclipse and SDK fully patched as of 2011-11-06. <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14" /> Deployed to Samsung device with Android 2.3.3 Application has android:theme="@android:style/Theme.Light" Issue: application is...
how can I change the text color of the ActionBar? I’ve inherited the Holo Light Theme, I’m able to change the background of the ActionBar but I don’t find...
I would like to know how can I apply full screen theme ( no title bar + no actionbar ) to an activity. I am using AppCompat library from...
I am trying to implement the new ActionBar support library that was released by Google a couple days ago. In the past, I have successfully implemented ActionBarSherlock without any...
I have an action bar with a menuitem. How can I hide/show that menu item? This is what I’m trying to do: MenuItem item = (MenuItem) findViewById(R.id.addAction); item.setVisible(false); this.invalidateOptionsMenu();...
Trying to move over my stuff to use Toolbar instead of action bar but I keep getting an error saying java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tyczj.weddingalbum/com.xxx.xxx.MainActivity}: java.lang.IllegalStateException: This Activity...
I’m migrating from ActionBar to Toolbar in my application. But I don’t know how to display and set click event on Back Arrow on Toolbar like I did on...
“Field can be converted to a local variable” message appearing when setting Android ActionBar colour
What the warning is telling you is that actionBarColor shouldn’t be a global variable (i.e. a field), because it’s only used in one method (onCreate). This is good advice: you should...