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

PDF Book Source Code For More Button

The document defines the layout for an Android app with three large buttons for studying, each button labeled 'study 1', 'study 2', and 'study 3' and formatted with consistent properties.

Uploaded by

Shahbaz Ahmad
Copyright
© © All Rights Reserved
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
Download as rtf, pdf, or txt
0% found this document useful (0 votes)
50 views3 pages

PDF Book Source Code For More Button

The document defines the layout for an Android app with three large buttons for studying, each button labeled 'study 1', 'study 2', and 'study 3' and formatted with consistent properties.

Uploaded by

Shahbaz Ahmad
Copyright
© © All Rights Reserved
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1/ 3

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

>

<RelativeLayout xmins:android="http://schemas.android.com/apk/res/android"

xmins:app="http://schemas.android.com/apk/res-auto"

xmins:tools="http://schemas.android.com/tools

android:layout_width="match_parent"

android:layout_height="match_parent"

tools:context=".MainActivity">

<Button

androidid="@+id/study1"

android:layout_width=330dp"

android:layout_height="wrap_content"

android:layout_alignparentStart="true"

android:layout_alignparentEnd="true"

android:layout_marginStart="40dp"

android:layout_marginTop="20dp"

android:layout_marginEnd="40dp"

android:text="study 1"

android:textStyle="bold"

android:textColor=@android:color/white"

android:background"@drawable/rounded_corner"/>

<Button

androidid="@+id/study2"
android:layout_width=330dp"

android:layout_height="wrap_content"

android:layout_alignparentStart="true"

android:layout_alignparentEnd="true"

android:layout_marginStart="40dp"

android:layout_marginTop="20dp"

android:layout_marginEnd="40dp"

android:text="study 2"

android:textStyle="bold"

android:textColor=@android:color/white"

android:background"@drawable/rounded_corner"/>

<Button

androidid="@+id/study3"

android:layout_width=330dp"

android:layout_height="wrap_content"

android:layout_alignparentStart="true"

android:layout_alignparentEnd="true"

android:layout_marginStart="40dp"

android:layout_marginTop="20dp"

android:layout_marginEnd="40dp"

android:text="study 3"

android:textStyle="bold"

android:textColor=@android:color/white"
android:background"@drawable/rounded_corner"/>

</Relativelayout>

---------------------------------------------------------------------------

You might also like