From 539deec9aa94ea7b7736b7597d9470a18204d7f8 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 21 Aug 2013 15:19:49 +0300 Subject: [PATCH] Add, show and remove alarms --- res/layout/add_alarm.xml | 10 ++-- res/layout/add_event.xml | 3 +- res/layout/alarm_row_layout.xml | 19 +++---- res/layout/event_view.xml | 10 ++-- res/values/strings.xml | 1 + src/ro/ieval/unical/AddAlarmActivity.java | 21 ++++++++ src/ro/ieval/unical/Application.java | 3 +- src/ro/ieval/unical/DisplayEventActivity.java | 49 ++++++++++++++++--- src/ro/ieval/unical/Utils.java | 9 ++-- 9 files changed, 92 insertions(+), 33 deletions(-) diff --git a/res/layout/add_alarm.xml b/res/layout/add_alarm.xml index ea4959f..6ccc266 100644 --- a/res/layout/add_alarm.xml +++ b/res/layout/add_alarm.xml @@ -6,11 +6,11 @@ android:layout_height="match_parent"> + android:id="@+id/timePicker" android:layout_gravity="center"/> - \ No newline at end of file + android:id="@+id/datePicker" android:layout_gravity="center"/> + diff --git a/res/layout/add_event.xml b/res/layout/add_event.xml index c14561c..45c47b8 100644 --- a/res/layout/add_event.xml +++ b/res/layout/add_event.xml @@ -86,7 +86,6 @@ android:onClick="showDateTimePickerDialog" android:text="@string/pick_date" android:layout_weight="1" - android:ems="10" android:focusable="false" /> @@ -181,4 +180,4 @@ - \ No newline at end of file + diff --git a/res/layout/alarm_row_layout.xml b/res/layout/alarm_row_layout.xml index b65b8f1..62aa676 100644 --- a/res/layout/alarm_row_layout.xml +++ b/res/layout/alarm_row_layout.xml @@ -1,20 +1,17 @@ - - - \ No newline at end of file +