Android 101 class questions:
Three type of layouts in android:
Linear layout - this layout is a group of view which alligns all
the childrens in single direction either horizontal or
vertical.
Table layouts:
This layout is one which groups the views in rows and columns just
like a table.
Frame layout:
This layout is a place holder layout on the screen which we can use
to display a single view on the page.
Difference between text view and edit text:
Text View - This is used to display the textx on the android screen which also allows user to optionally edit the text, it contains text editing operations but the basic class does not allow editing.
EDit text:
This is used to make the text editable in android application, it
helps in the build of data interface which is taken from the user,
it is also used to hide confidential data
if you like the answer please provide a thumbs up
Get Answers For Free
Most questions answered within 1 hours.