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.

?android:attr/selectableItemBackground

when writing my android app i used android:background="?android:attr/selectableItemBackground" I tried looking for attr.xml file that …

android android-layout android-xml
Using ImageView as background for an Android Layout

I want to take advantage of the scaleType property, which I cannot use if I set my image using the …

android android-layout android-imageview android-xml android-background
How to change the height of the 'Log in with Facebook' button?

I already tried several answers I could find but none of them worked with the latest Facebook Android SDK version 4.0. …

android facebook android-xml facebook-login facebook-sdk-4.0
Android- How to implement Horizontal Step Progress Bar

I want to implement horizontal progress bar with steps like shown in following img. I could not find such native …

android android-xml android-custom-view android-progressbar
How can I create a weekly calendar view for an Android Honeycomb application?

I am working on an Android (v3.0) application that has a requirement of mimicking the weekly calendar layout found on …

android layout android-layout android-3.0-honeycomb android-xml
Android navigation bar size in xml

Is there any way to get the size of navigation bar in android in xml file similar to this? android:…

android android-layout android-xml
Android: Best XML Parsing Library?

I have to parse some complex xml files inside my Android application. Is there any good library for doing that …

android xml android-xml
Android: include a xml into an other xml

How to include a xml data into an other xml data? I have a header xml-file for my application which …

android xml android-xml
Unknown attribute android:layout_width, layout_height, id, gravity, layout_gravity, padding

Getting Unknown attribute error on all android tag. In layout XML, Auto suggestion is not showing all attributes (like layout_…

android android-layout android-studio android-xml android-layoutparams
Gradient Radius as percentage of screen size

I'm trying to create a shape drawable with radial gradient background, with radius that will adjust to the screen size (…

android android-xml radial-gradients shapedrawable