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

Practical 11

The document contains an XML layout for an Android application activity called InterestsActivity. It includes a TextView prompting users to select their interests and five CheckBoxes for different categories: Beauty & Style, Health & Fitness, Music, Shopping, and Technology. Additionally, there is a Submit button for user interaction.

Uploaded by

Deep Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Practical 11

The document contains an XML layout for an Android application activity called InterestsActivity. It includes a TextView prompting users to select their interests and five CheckBoxes for different categories: Beauty & Style, Health & Fitness, Music, Shopping, and Technology. Additionally, there is a Submit button for user interaction.

Uploaded by

Deep Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Practical No 11

<?xml version=”1.0” encoding=”utf-8”?>


<LinearLayout xmlns:android=http://schemas.android.com/apk/res/android
Xmlns:tools=http://schemas.android.com/tools
Android:layout_width=”match_parent”
Android:layout_height=”match_parent”
Android:orientation=”vertical”
Android:padding=”16dp”
Tools:context=”.InterestsActivity”>

<TextView
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:text=”Select you interests:”
Android:textSize=”18sp”
Android:layout_marginBottom=”16dp”/>

<CheckBox
Android:id=”@+id/checkBoxBeauty”
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:text=”Beauty &amp; Style”
Android:layout_marginBottom=”8dp”/>

<CheckBox
Android:id=”@+id/checkBoxHealth”
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:text=”Health &amp; Fitness”
Android:layout_marginBottom=”8dp”/>

<CheckBox
Android:id=”@+id/checkBoxMusic”
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:text=”Music”
Android:layout_marginBottom=”8dp”/>

<CheckBox
Android:id=”@+id/checkBoxShopping”
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:text=”Shopping”
Android:layout_marginBottom=”8dp”/>

<CheckBox
Android:id=”@+id/checkBoxTechnology”
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:text=”Technology”
Android:layout_marginBottom=”24dp”/>

<Button
Android:id=”@+id/buttonSubmit”
Android:layout_width=”match_parent”
Android:layout_height=”wrap_content”
Android:text=”Submit”/>

</LinearLayout>

You might also like