0% found this document useful (0 votes)
21 views3 pages

6

The document describes a layout for an Android application that displays student data in a table. It includes multiple table rows with text views for student names, ages, and percentages. There are several rows of student data shown. The layout uses a table layout to organize the student data into rows and columns.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

6

The document describes a layout for an Android application that displays student data in a table. It includes multiple table rows with text views for student names, ages, and percentages. There are several rows of student data shown. The layout uses a table layout to organize the student data into rows and columns.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

<?xml version="1.0" encoding="utf-8"?

> <TextView
<TableLayout android:layout_width="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/a android:layout_height="wrap_content"
ndroid" android:text="100"
xmlns:app="http://schemas.android.com/apk/res- />
auto" </TableRow>
xmlns:tools="http://schemas.android.com/tools" android:layout_height="wrap_content"
android:layout_width="match_parent" android:text="Diptesh"
android:layout_height="match_parent"
tools:context=".MainActivity" />
<TextView
> android:layout_width="wrap_content"
<TableRow android:background="#fff2" android:layout_height="wrap_content"
android:padding="10dp"> android:text="18"
<TextView />
android:layout_width="wrap_content" <TextView
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:text="Name" android:layout_height="wrap_content"
android:text="81"
/> />
<TextView </TableRow>
android:layout_width="wrap_content" <TableRow android:padding="10dp">
android:layout_height="wrap_content" <TextView
android:text="Age" android:layout_width="wrap_content"
/> android:layout_height="wrap_content"
<TextView android:text="Soham"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:text="Percent" <TextView
/> android:layout_width="wrap_content"
</TableRow> android:layout_height="wrap_content"
<TableRow android:padding="10dp"> android:text="18"
<TextView />
android:layout_width="wrap_content" <TextView
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:text="Sham" android:layout_height="wrap_content"
android:text="85"
/> />
<TextView </TableRow>
android:layout_width="wrap_content" <TableRow android:padding="10dp">
android:layout_height="wrap_content" <TextView
android:text="18" android:layout_width="wrap_content"
/> android:layout_height="wrap_content"
<TextView android:text="Yash"
android:layout_width="wrap_content" />
android:layout_height="wrap_content" <TextView
android:text="99" android:layout_width="wrap_content"
/> android:layout_height="wrap_content"
</TableRow> android:text="17"
<TableRow android:padding="10dp"> />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Ram" android:text="81"
/>
/> </TableRow>
<TextView <TableRow android:padding="10dp">
android:layout_width="wrap_content" <TextView
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:text="17" android:layout_height="wrap_content"
/> android:text="Aryan"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="18"
/>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="101" android:text="18"/>
/> <TextView
android:layout_width="wrap_content"
<TableRow android:padding="10dp"> android:layout_height="wrap_content"
<TextView android:text="75"/>
android:layout_width="wrap_content" </TableRow>
<TableRow android:padding="10dp">
</TableRow> <TextView
<TableRow android:padding="10dp"> android:layout_width="wrap_content"
<TextView android:layout_height="wrap_content"
android:layout_width="wrap_content" android:text="Prathamesh"/>
android:layout_height="wrap_content" <TextView
android:text="Uddhav" android:layout_width="wrap_content"
android:layout_height="wrap_content"
/> android:text="18" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="19" android:text="90"
/> />
<TextView </TableRow>
android:layout_width="wrap_content" </TableLayout>
android:layout_height="wrap_content"
android:text="87"
/>
</TableRow>
<TableRow android:padding="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Rajveer"

/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="19"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="71"
/>
</TableRow>
<TableRow android:padding="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Sanklap"

/>
<?xml version="1.0" encoding="utf-8"?> <TextView
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_height="match_parent" android:text="2) Array"/>
tools:context=".MainActivity"> <TextView
<TextView
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="66dp"
android:text="Data Types in Object Oriented android:layout_height="wrap_content"
Programming" android:text="3) Interface"
android:textSize="25dp" />
android:textStyle="bold" /> <TextView
<TextView
android:id="@+id/pd" android:layout_width="wrap_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="top|left|fill_vertical" android:text="4) Object" />
android:layout_marginTop="80dp" </LinearLayout>
android:text="Primitive" </FrameLayout>
android:textSize="20dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="110dp"
android:foregroundGravity="fill_horizontal|top"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1) Integer" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2) Float" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="3) Characters" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="4) Boolean" />
</LinearLayout>
<TextView
android:layout_toRightOf="@+id/pd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right|fill_vertical"
android:layout_marginTop="80dp"
android:text="Non-Primitive"
android:textSize="20dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_marginTop="110dp"
android:layout_marginRight="20dp"
android:orientation="vertical">
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1) Class" />

You might also like