Top "Xml-layout" questions

Android uses xml files to layout its components on a window.

Android: Creating a Circular TextView?

My current simple XML is below, however i would like the 3 TextViews within it to be circular, rather than rectangular. …

java android textview xml-layout
Shape Drawable Size not working

I have a very simple shape that I want to set the width of: <shape android:shape="rectangle"> &…

android drawable xml-layout shapedrawable
How can i change included xml layout to another layout on java code?

I included second layout to first layout like this: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://…

android android-layout xml-layout
Why i am not able to create the round border for specific corner?

In My android xml layout i am applying the border by using the borderframe.xml as a background. borderframe.xml …

android xml-layout
Android LinearLayout Line Breaks in XML

I have an activity designed to get customer information. First line gets name, 2nd line street address, third line is …

android xamarin.android xml-layout
match_parent not performing as expected

I imagine this should be a fairly easy one to answer, if you understand XML Layouts better than I do …

android android-linearlayout android-xml xml-layout
Horizontally center Views inside Android GridLayout

We are writing an app targeting ICS+ and believe a GridLayout is the best layout paradigm, but it seems very …

android alignment android-4.0-ice-cream-sandwich grid-layout xml-layout
Android - Change background color of margin

I have a fragment named HostFragment which nests one to four other fragments. This is the layout of HostFragment: <?…

android android-layout xml-layout
android (change string in java code)

In the /res/values folder of my android project i have a string and that is referenced in a text …

android string textview xml-layout
Use special symbol (<, >) in layout design in Android

I need two navigation buttons with their texts are < and >. However, the compiler doesn't allow me use those …

android xml symbols xml-layout