Among several views, slightly overlapping each other can be toggled from foreground to background and background to foreground. The views could be any subclass of View class, such as TextView, ImageButtons, ImageView, EditText, even the layouts. The code to bring each view to the front would be like this: Let see an example with two 

Two ImageView relatively aligned

Tuesday, 06 August 2013 by

ImageView displays an arbitrary image, such as an icon. The ImageView class can load images from various sources (such as resources or content providers), takes care of computing its measurement from the image so that it can be used in any layout manager, and provides various display options such as scaling and tinting.Using RelativeLayout  relative

ImageView displays an arbitrary image, such as an icon. The ImageView class can load images from various sources (such as resources or content providers), takes care of computing its measurement from the image so that it can be used in any layout manager, and provides various display options such as scaling and tinting. Here we

TOP