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.

Vertical line using XML drawable

I'm trying to figure out how to define a vertical line (1dp thick) to be used as a drawable. To …

android android-layout line android-xml android-drawable
Difference between "@id/" and "@+id/" in Android

What is the diffirence between the @id/ and @+id/? In @+id/ the plus symbol + instructs to create a new resource …

android android-xml
Add a background image to shape in XML Android

How do you add a background image to a shape? The code I tried below but no success: <?xml …

android android-xml
error: Error parsing XML: not well-formed (invalid token) ...?

I am working on an application, with following XML. but whenI try to clean/build my project the following error …

android xml android-xml
Android : difference between invisible and gone?

What is the difference between invisible and gone for the View visibility status?

android android-xml xml-attribute
Android button with different background colors

i want to change the background-color of a button using a selector-xml-file. My approach is basically the one from the …

android android-layout android-xml
dpi value of default "large", "medium" and "small" text views android

Does the documentation ( or anyone) talks about the dpi values of the default Large TextView {android:textAppearance="?android:attr/textAppearanceLarge"} …

android textview android-xml
Custom designing EditText

I have custom designed EditText search_page.xml <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" …

android android-edittext android-xml
How can you get the Manifest Version number from the App's (Layout) XML variables?

I would like to have a way to reference the project's manifest version number in the main part of the …

android android-manifest android-xml
How can I draw circle through XML Drawable - Android?

I'm trying to draw circle with the help of XML file in android, but circle is not displaying properly. Below …

android android-layout android-xml