Top "Android-styles" questions

A style is a collection of properties that specify the look and format for a View or window

How do I change the background color of the ActionBar of an ActionBarActivity using XML?

Details: I'm extending ActionBarActivity. Eclipse and SDK fully patched as of 2011-11-06. <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14" /> …

android android-actionbar android-theme android-styles
Android toolbar center title and custom font

I'm trying to figure out the right way to use a custom font for the toolbar title, and center it …

android android-layout android-toolbar android-theme android-styles
Set EditText cursor color

I am having this issue where I am using the Android's Holo theme on a tablet project. However, I have …

android android-edittext android-styles
Changing EditText bottom line color with appcompat v7

I am using appcompat v7 to get the look consistent on Android 5 and less. It works rather well. However I …

java android android-layout android-edittext android-styles
Why is my Button text forced to ALL CAPS on Lollipop?

In my app "Tide Now WA" which I recently tested for compatibility using the new Nexus 9 tablet (Lollipop - API 21). …

android android-5.0-lollipop android-button android-styles
Set style for TextView programmatically

I'm trying to use the TextView constructor with style like this: TextView myText = new TextView(MyActivity.this, null, R.style.…

android textview android-styles
How to set Toolbar text and back arrow color

Toolbar background is dark color, I want text and back arrow to be white. I tried following, but it doesnt …

android android-layout toolbar android-theme android-styles
Style bottom Line in Android

I need to create an android shape so that only the bottom has stroke (a dashed line). When I try …

android android-drawable android-styles layer-list
How to change color of the back arrow in the new material theme?

I've updated my SDK to API 21 and now the back/up icon is a black arrow pointing to the left. …

java android user-interface colors android-styles
How to make a smaller RatingBar?

I've added a RatingBar in a layout: <RatingBar android:id="@+id/ratingbar" android:layout_width="wrap_content" android:layout_…

android android-widget android-styles