Top "Android-xml" questions

Android projects use XML in several ways: defining the project and components, building layouts, defining animations, creating menus and specifying resources (static and dynamic) for the project.

Error inflating class de.hdodenhof.circleimageview.CircleImageView in Android version 6 marshmallow

I created an app which uses this hdodenhof CircleImageview library. My app works fine on Android 7 and 7.1 but it is …

android android-layout android-xml android-6.0-marshmallow layout-inflater
Unexpected auto-formatting of XML layout in Android Studio

I am using AS since 4 years. After last update I observed unexpected auto-formatting of XML layout (while typing and with …

android android-studio android-layout android-xml android-studio-3.0
How to make option menu appear on bottom of the screen?

Here is what I am trying to implement: when people click on the menu on top right corner of a …

java android android-layout android-xml android-menu
What is android:includeFontPadding for?

You can use android:includeFontPadding="false" to get rid of the default padding in a TextView. Android docs say this …

android textview android-xml
Disabling the keyboard's send button when nothing has been typed yet [Android]

I'm creating a search option in an android application. After pressing "Search" on the screen-keyboard an event triggers which sends …

android android-softkeyboard android-xml
Android - TabHost inside ScrollView

I'm writing an app that implements nested tabs. Because two sets of tabs occupy quite a bit of space and …

android scrollview android-tabhost tabwidget android-xml
colors.xml resource does not work

I created a colors.xml file in my Android app under /res/values/colors.xml. The contents are... <?xml …

java android android-xml android-resources
android: assigning a constant value to a xml-element

I'm currently programming an android app. There I am stuck with xml-layout. Is it possible to assign a value to …

android xml constants android-xml
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
Rendering issue in XML preview : Unable to locate mode 0

After updating the android studio exception occured during rendering. Exception raised during rendering: Unable to locate mode 0 java.lang.IllegalStateException: …

android exception android-xml illegalstateexception