Set ListView Item to half ScreenWidth in XML

view story

http://stackoverflow.com – In XML, I have a custom list item view that I am inflating within the getView() method of my adapter for my ListView. In XML, how can I make my custom ListView item always half the width of the screen (maybe add some padding too)? I don't think adding another widget would work like the suggested solutions I've seen since this is a list item. Edit: To clarify, I don't think this is a problem with my xml code, but here's what I mean. If I have a custom layout like this: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" (HowTos)