Top "Android-styles" questions

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

How to use Percentage for android layout?

How can we use percentage values for android view elements? something like this <TextView android:id="@+id/" android:layout_…

android android-view android-preferences android-styles
Android AlertDialog with rounded corners

I have been trying to make my Alert Dialog with rounded corners but somehow I am not able to. I …

android android-layout android-alertdialog android-styles
Remove android.widget.Toolbar shadow

Using API21+ Toolbar: // Toolbar Toolbar toolbar = new Toolbar(this); toolbar.showOverflowMenu(); Would like to remove its shadow completely. setElevation(0) doesn't …

java android android-styles
Remove black background on custom dialog

I want to remove the black background on custom dialog as shown in the picture. I'm sure the black background …

android android-alertdialog android-dialog android-styles
How can I change the style of a ProgressBar to small?

I have some difficulties finding the correct way to specify that a progress bar should have the small indefinite style. …

android android-progressbar android-styles
Creating styles-v21.xml

In Android Studio, I imported a project which did not include styles.xml (v21). So I created a styles-v21.xml …

android xml android-studio resources android-styles
Setting Android Toolbar Background and Text Colors in Android Studio 1.4.1

I'm trying to change activity action bar's background color and title color, i tried official tutorial and some answers from …

android android-studio android-styles
How to hide status bar in android in just one activity

I want to hide status bar / notification bar in splash screen I am using style:<style name="AppTheme" parent="…

android android-styles
Full Screen in customize theme

I need my app to show as full screen. Now I know how to add this feature into the application …

android android-theme android-styles
How to change SearchView elements' color?

I want to use SearchView in my project, but I have a problem with elements' color. Let me show you: …

android android-theme android-styles android-search