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
  • 98,673
  • 67
  • 256
  • 322
GDroid
  • 1,254
  • 1
  • 16
  • 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
  • 3
  • 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
  • 40,138
  • 28
  • 93
  • 102