Top "Android-theme" questions

A theme is a style applied to an entire Android application or Activity, rather than an individual View.

How to use Holo.Light theme, and fall back to 'Light' on pre-honeycomb devices?

I'd like to use the Holo.Light theme on devices that support it, and fall back to the regular Light …

android android-4.0-ice-cream-sandwich android-theme android-3.0-honeycomb
Change title color in toolbar?

I have a toolbar that I use, and set title with: ((ActionBarActivity)getActivity()).getSupportActionBar().setTitle("Home"); Is there a way …

android android-theme android-toolbar
Get color value programmatically when it's a reference (theme)

Consider this: styles.xml <style name="BlueTheme" parent="@android:style/Theme.Black.NoTitleBar"> <item name="theme_color"&…

android android-resources android-theme
Changing the text appearance in styles and themes for an Android app

I am writing an android app and I am wanting to alter the theme of my app. I have managed …

java android text android-theme android-styles
appcompat_v7: Error retrieving parent for item: No resource found that matches the given name

I am trying to build the Android project that uses appcompat_v7 library. For that, I created my project through …

android coding-style android-theme android-styles android-appcompat
Android: Theme.Holo.Light.NoActionBar vs Theme.Light.NoTitleBar

In res/values-v11/styles.xml, I can't use Theme.Holo.Light.NoActionBar because it was added in API level 13. Can …

android android-theme
When should one use Theme.AppCompat vs ThemeOverlay.AppCompat?

There are the following Theme.AppCompat classes: Theme.AppCompat Theme.AppCompat.Light Theme.AppCompat.Light.DarkActionBar Theme.AppCompat.NoActionBar Theme.…

android android-theme
How to Android Holo Theme style dialog box buttons

I'm creating a Dialog Box on Holo Theme and want to follow the OS default way of displaying the buttons. …

android android-theme
Android - Making activity full screen with status bar on top of it

I want to make my activity full screen with status bar on top of it like this picture: I have …

android android-activity android-theme android-fullscreen android-statusbar
UnsupportedOperationException: Can't convert to dimension: type=0x1

In Android I got following Error in the emulator and some mobile device but not in Tablet: I can't understand …

android android-layout android-emulator actionbarsherlock android-theme