59 lines
2.0 KiB
XML
59 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/background"
|
|
android:orientation="vertical"
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="75dp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="15dp"
|
|
android:text="Cricketer List"
|
|
android:textColor="@color/white"
|
|
android:textSize="15sp"></TextView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layout_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"></LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/button_add"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="40dp"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/ic_launcher_background"
|
|
android:drawableRight="@drawable/add_black_24dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:text="Add"
|
|
android:textAllCaps="false"
|
|
android:textColor="@color/white"></Button>
|
|
|
|
<Button
|
|
android:id="@+id/button_submit_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginRight="15dp"
|
|
android:background="@drawable/ic_launcher_background"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:text="Submit List"
|
|
android:textAllCaps="false"
|
|
android:textColor="@color/white"></Button>
|
|
|
|
</LinearLayout> |