Reputation: 13
I am developing a small game. I have displayed an image as the background and now want to display another image in the bottom middle of the scree. Any ideas how to do it?
Thanks
Upvotes: 0
Views: 3795
Reputation: 41076
You can use FrameLayout for your purpose , If you have set background to layout , Use imageview and position it.
Check here , Though it talks about merging layouts and optimization , there is a good example of using FrameLayout.
http://android-developers.blogspot.in/2009/03/android-layout-tricks-3-optimize-by.html
Upvotes: 2