Top "Android-styles" questions

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

MaterialComponents theme alert dialog buttons

Recently I switched from support library to com.google.android.material:material:1.0.0 But now I have a problem, in this …

android material-design android-alertdialog android-styles material-components-android
Change background popupMenu in Android

I tried to change background of popupmenu, but my implementation does not work. This is my code: <style name="…

android android-theme android-styles android-popupwindow
How to Style ActionBar, tab background on selected tab

I'm struggling with styling the ActionBar. My app has an ActionBar with three tabs. I'm trying to get the selected …

android android-actionbar android-tabs android-styles
How to create 'Horizontal style' progress bar programmatically in Android?

I am creating a ProgressBar in my app programmatically it is of SPIN style by default however I want it …

android android-progressbar android-styles
Using ?selectableItemBackground with a white background color

I've always been using android:background="?selectableItemBackground" for a ripple effect when a view (a LinearLayout for example) is clicked. …

android android-styles
Android : status bar color change for API level below 21

I am trying change status bar color for API level lower than 21.By changing the color primary in Theme style …

android android-5.0-lollipop android-theme android-styles android-statusbar
Android Toolbar: small title text in landscape mode

I'm testing the new Toolbar and AppCompat theme on Android and ran into a problem. My toolbar title text looks …

android android-styles
values-21, values-22 or values-xx folder is gone after Android Studio 1.0

When I create a new project with API14 as minimum, then there is no values-21 or values-22 folder in my …

java android android-studio android-styles
Programmatically set android:windowIsTranslucent

I was able to create a floating activity after following this tutorial http://cases.azoft.com/android-tutorial-floating-activity/ However, to do …

android android-layout android-theme android-styles android-windowmanager
Custom checkbox style in dialog

I'm constructing a dialog with multi-choice items (checkboxes): AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setMultiChoiceItems(arrayResource, selectedItems, new …

android checkbox android-dialog android-theme android-styles