===============activity_catalog.xml=================
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.android.petspagi.CatalogActivity"> <ImageButton
android:layout_width="70dp" android:layout_height="70dp" android:scaleType="centerCrop"
android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" android:src="@drawable/kaki"
android:id="@+id/IBkaki"/> </RelativeLayout>
==================activity_editor.xml=================
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.android.petspagi.EditorActivity"> <TextView
android:layout_width="125dp"
android:layout_height="wrap_content" android:text="Overview"
android:textSize="20sp"
android:layout_marginTop="15dp" android:layout_marginLeft="5dp" android:id="@+id/textOverview" /> <EditText
android:id="@+id/editName" android:layout_marginTop="5dp"
android:layout_alignParentRight="true" android:layout_width="240dp"
android:layout_height="wrap_content" android:hint="Name" />
<EditText
android:id="@+id/editBreed" android:layout_marginTop="10dp" android:layout_marginLeft="5dp"
android:layout_alignParentRight="true" android:layout_below="@id/editName" android:layout_width="240dp"
android:layout_height="wrap_content" android:hint="Breed" />
<Spinner
android:id="@+id/spinnerGender"
android:layout_width="240dp" android:layout_height="30sp"
android:layout_below="@id/editBreed" android:layout_marginTop="10dp"/> <TextView
android:layout_width="125dp"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/spinnerGender" android:text="Gender"
android:textSize="20sp"
android:layout_marginLeft="5dp" android:id="@+id/textGender" /> <TextView
android:id="@+id/textMeasurement" android:layout_width="125dp"
android:layout_height="wrap_content" android:layout_below="@id/textGender" android:layout_marginTop="15dp" android:text="Measurement" android:layout_marginLeft="5dp" android:textSize="20sp" /> <EditText
android:id="@+id/editWeight" android:layout_width="240dp"
android:layout_height="wrap_content" android:layout_below="@id/spinnerGender" android:layout_alignParentRight="true" android:textAlignment="textEnd"
android:hint="kg" />
</RelativeLayout>
===========================menu_catalog.xml================================
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"> <item
android:id="@+id/InsertDummyData" android:title="Insert Dummy Data" />
=========================string.xml==================================
<resources>
<string name="app_name">PetsPagi</string> <string-array name="array_gender_option"> <item>Male</item>
<item>Female</item> <item>Unknown</item> </string-array>