... <application android:icon="@drawable/clock"> <activity android:name=".GenerateAlarm" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" ... layout, so edit the main .xml file to add a new button, like this:<Button android:id="@+id/set_alarm_button" android:layout_width="wrap_content" android:layout_height="wrap_content" ... AndroidManifest .xml. You will need to add tags so that your AndroidManifest .xml file looks like listing 8.1.< ?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android"...