Mobile Application Development Practical 10
Mobile Application Development Practical 10 Question 1 Write a program to create a login form for a social networking site. activity_main.xml <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <TableLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="100dp"> <TableRow android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginLeft="20dp" > <TextView android:id="@+id/textView1" android:layout_width="79dp" android:layout_height="wrap_content" android:text="Username:" /> <EditText android:id="@+id/username" android:layout_width="187dp" android:layout_height="wrap_content" android:layout_marginLeft="20dp" android:hint="Enter username here" /> […]
Mobile Application Development Practical 10 Read More »