1

I want to create layout having logo (small logo than screen) on the centre of the screen (horizontally & vertically) and on the top of the centred logo, I want to have a full screen (fill_parent) LinearLayout having ListView in it.

Want to keep ListView little transparent to keep my logo visible, looks like a watermark.

Can any one please tell me that what could be the XML for that?

p.campbell
  • 95,348
  • 63
  • 249
  • 319
GDroid
  • 1,154
  • 1
  • 14
  • 36

2 Answers2

3

for logo to be at centre use android:gravity="center" and also set opacity="translucent" and use it in a frame layout and also use overlay concept.

You can also check this other post.

Community
  • 1
  • 1
Geetanjali
  • 1,043
  • 2
  • 13
  • 37
2

Use Framelayout,
http://developer.android.com/guide/topics/ui/layout-objects.html

You can even use relative layout to overlap views.

sat
  • 38,448
  • 27
  • 90
  • 102