Android Tutorial

(avery) #1

By : Ketan Bhimani


234 

Using FrameLayout

A FrameLayout view is designed to display a stack of child View
items. You can add multiple views to this layout, but each View is
drawn from the top-left corner of the layout. You can use this to
show multiple images within the same region, as shown in Figure,
and the layout is sized to the largest child View in the stack.

You can find the layout attributes available for FrameLayout child
View objects in android.control.FrameLayout.LayoutParams.Table
describes some of the important attributes specific to FrameLayout
views.

Important FrameLayout View Attributes
Free download pdf