Q. Write a program to display HelloWorld.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="[Link]
s/android"
xmlns:app="[Link]
auto"
xmlns:tools="[Link]
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
android:orientation="horizontal"
android:background="@color/white"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!!!"
android:textSize="30dp"
android:textColor="@color/black"
android:fontFamily="times new roman"
android:textStyle="italic" Q. Write a program to display student name
/> and marks.
</LinearLayout> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="[Link]
s/android"
xmlns:app="[Link]
auto"
xmlns:tools="[Link]
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:layout_margin="20sp"
android:padding="10sp"
android:background="@color/white"
tools:context=".MainActivity">
android:gravity="center"
<LinearLayout android:layout_marginBottom="10sp">
android:layout_width="match_parent" <TextView
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:gravity="center" android:layout_height="wrap_content"
android:layout_marginBottom="10sp"> android:text="Marks : "
<TextView android:textColor="@color/black"
android:layout_width="wrap_content" android:textSize="20sp"/>
android:layout_height="wrap_content" <TextView
android:text="Name : " android:layout_width="wrap_content"
android:fontFamily="times new roman" android:layout_height="wrap_content"
android:textColor="@color/black" android:text="98.34% "
android:textSize="20sp"/> android:fontFamily="times new roman"
android:textColor="@color/black"
<TextView android:textSize="20sp"/>
android:layout_width="wrap_content"
android:layout_height="wrap_content" </LinearLayout>
android:text="Ganesh Kumbhar "
android:fontFamily="times new roman" </LinearLayout>
android:textColor="@color/black"
android:textSize="20sp"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"