-
android:layout_width="fill_parent"
-
It forces the view to expand to take up as much space as is available within the layout element it has been placed in.
Setting a top-level layout to
fill_parent will take up the whole screen.
For example, the top figure is the button width having fill_parent value and the middle one is the button height having fill_parent value.
-
android:layout_height="wrap_content"
-
Setting a view’s size to
wrap_content will force it to expand only far enough to contain the values it contains.
For example, the bottom figure is both button width and height having wrap_content value.
-
TextView class
-
This class displays text to the user.
|
|



|