Top "Android-styles" questions

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

Cannot resolve symbol 'Theme' in styles.xml (Android Studio)

Since today, Android Studio can't find the AppCompat themes in styles.xml, but for example AppCompatActivity in code does get …

android android-studio gradle android-appcompat android-styles
Custom attributes in styles.xml

I have created a custom widget, and I'm declaring it in layout.xml. I have also added some custom attributes …

android android-layout android-xml android-styles
How to change the background color around a DialogFragment?

I'm building a custom DialogFragment. The dialog layout is set to my_dialog.xml, but how can I modify the …

android background android-dialogfragment android-styles
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
Change the TextInputLayout outline color

I'm trying to customize a TextInputLayout with material style. I managed to set the focused state to the colors I …

android material-design android-styles android-textinputlayout
Example and explanation: Android (Studio) Login Activity Template generated activity

I wanted to implement a login form in my app, so I tried to use the code generated by the …

android login android-styles
Change CalendarView style

I'm trying to add a CalendarView in my application, which uses the Theme.Light theme. The problem is, the days …

android android-widget android-styles android-calendar
How to pass AttributeSet when creating view programmatically in android

I create programmatically like horizontalview then, how to pass AttributeSet in programmatically. My constructor looks like this: public HorizontalListView(Context …

android android-styles
How to set checkbox border color

The checkbox border is invisible on white background. I played with different color parameters without success. I need black border …

android android-layout android-styles android-checkbox