Top "Android-attributes" questions

Defining custom attrs

I need to implement my own attributes like in com.android.R.attr Found nothing in official documentation so I …

android android-resources android-attributes
How to reference style attributes from a drawable?

I want to have 2 selectable themes for my application. In order to do that, I defined some attributes, like this: &…

android android-drawable android-theme android-attributes
Error inflating class Button in Android

I have an application with min sdk 16 up to 23. I want to use Material design as much as possible. It …

android android-styles android-inflate inflate-exception android-attributes
How to create an AttributeSet in Android?

I am trying to write some code in Android to set parameters in an AttributeSet from attrs.xml file. But …

android xml xmlpullparser android-attributes
How to get android default attributes in a custom view

I have created a simple custom view that contains a RelativeLayout and an EditText: <RelativeLayout xmlns:android="http://schemas.…

android android-widget android-custom-view custom-view android-attributes
Cannot resolve symbol @android:color/white anymore

But the application is not compiling. I don't know what can I do? I am try to clean project I …

android android-xml android-color android-attributes