how to realise a picture border/frame?

Put your problem here if it does not fit any of the other categories.

how to realise a picture border/frame?

Postby sommeralex » Wed Mar 05, 2008 10:56 pm

i would like to realise some kind of picture-frame.. but i have no idea how to.

there are many possiblities: frameLayout / tableLayout (?) / gridlayout (?)

any suggestions?

alex
sommeralex
Experienced Developer
Experienced Developer
 
Posts: 95
Joined: Sun Jan 20, 2008 3:12 am
Location: Vienna

Top

Postby plusminus » Fri Mar 07, 2008 1:02 am

Hello sommeralex,

maybe a simple Linearlayout with "wrap_content" for width/height and any backgroundcolor.
Then add just the image within and add some padding pixels.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 19 guests