Android Layout On Top of an Image -


i struggling layout problem on android. simple on iphone, various screen sizes , layout classes available. having hard time doing this.

one thing have noticed setting backgrounds on objects in xml messes layout on device. have put in framelayout , imageview background.

so trying this. http://www.calidadsystems.com/images/androidlistitem.png (sorry don't have enough pts post image)

his status view , item in list view. there 8 textviews need set. each of 222 fields change. current background has colors in there @ specific locations , trying line labels , textviews picture below. built 1 absolutelayout deprecated, not work on device.

i have struggled layouts on android. have sample code this?

you're going want use relativelayout. can use android:layout_aligntop="id" attribute make rows in line correctly. , android:layout_alignleft="id" columns. other matter of playing android:layout_marginleft="xxdip" attribute space between them how want it. check out page overview , examples of of layout types. here more sample relativelayout code. , one more page example. relativelayout bit tricky used once you've used few times pretty easy understand , layout want. benefit of uis nice on several different screen sizes when define them way.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -