Top "Android-styles" questions

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

Set margin in style and apply that style to TextView programmatically

In my application, I want to set top and bottom margin of 8 dip to a textview. So if I do …

android android-styles
can not remove title bar in Activity

i want to remove title on top of my Activity. i tried this two way they work but not in …

android android-activity android-styles android-actionbaractivity
Android | Change theme of TextInputLayout using styles.xml

I want to apply custom style to TextInputLayout's hint and error in one theme and apply it globally i.e. …

android xml android-styles android-textinputlayout
How to create TextInputLayout with OutlineBox programmatically

I want to create TextInputLayout with Widget.MaterialComponents.TextInputLayout.OutlinedBox style. I tried many ways but couldn't get the required …

android android-layout material-design android-styles textinputlayout
Styles and themes on values, values-v11 and values-v14 folders

I am currently working on my app to base its design on the Holo theme. Globally what I want to …

android android-theme android-styles
Styling indeterminate horizontal progress bar on android

Styling determinate progress bar is easy, there are many tutorials to achieve that. This is on I'm using: <ProgressBar …

android android-styles android-progressbar
Styling Tab Widget's using XML

So I am having great difficultly styling tab widgets using xml. Everywhere I have searched seem's to either suggest solutions …

android android-theme android-tabs android-styles tabwidget
Status Bar color for API Level below 21 is not changing

The Status Bar color for API level 21 or above is changing according to my requirement but how to change the …

android xml android-theme android-styles android-statusbar
Change default design theme to customized color

I am very new to Android Studio. As a beginner I have created a simple app just for testing purpose …

android material-design android-styles android-checkbox
getSupportActionBar().setCustomView(view) does not fill entire actionbar

I'm trying to set the customview of my app and the layout i made does not fill the entire actionbar. …

android android-styles android-actionbar-compat android-actionbaractivity