Description
Problem – 1 – Working with TabLayout [15 Points ]
Dynamically add data to the Table by clicking Add button. Insert two items statically in the table. Add more items dynamically by clicking Add button. Add two edit text boxes to get the Android Version and Code Name at the top. If the User clicks the Add button, new row will be inserted in the Table Layout.
First Screen
Adding Input Dynamically to the
Table
After Clicking ADD Button
Hints: To add rows programmatically
// Create a new table row. val tableRow = TableRow(getApplicationContext()) // this
// Set new table row layout parameters. val layoutParams = TableRow.LayoutParams(TableRow.LayoutParams.WRAP_CONTENT) tableRow.setLayoutParams(layoutParams) // add values into row by calling addView()
tableRow.addView(value,column numbers) // Finally add the created row row into layout tableLayoutid.addView(tableRow) // id from Layout_file
Problem 2: Create a Login page for the Walmart store as per the screen produced
below. [ 10 Points]
Apply the Layout knowledge gained from the Lesson – 4.
Note: Here Forget Password is not a button, you have to make TextView as a clickable text by using these properties, android:autoLink=”all” android:clickable=”true”




Reviews
There are no reviews yet.