From ca60cf54c8c50d0c455586138e5e7ae50d5bfb30 Mon Sep 17 00:00:00 2001 From: Doug Keen Date: Fri, 12 Oct 2012 07:04:19 -0700 Subject: [PATCH] Switched back to using SimonVT's number picker --- project.properties | 3 +- res/layout/train_alarm_dialog.xml | 4 +- res/values/styles.xml | 285 +++++++++++------- .../activities/TrainAlarmDialogFragment.java | 2 +- 4 files changed, 183 insertions(+), 111 deletions(-) diff --git a/project.properties b/project.properties index 1b877e2..0b0d9c5 100644 --- a/project.properties +++ b/project.properties @@ -9,6 +9,5 @@ # Project target. target=android-16 -android.library.reference.1=..\\..\\..\\Documents\\GitHub\\NineOldAndroids\\library +android.library.reference.1=..\\..\\..\\Documents\\GitHub\\android-numberpicker\\library android.library.reference.2=..\\..\\..\\Documents\\GitHub\\HoloEverywhere\\contrib\\ActionBarSherlock\\library -android.library.reference.3=..\\..\\..\\Documents\\GitHub\\HoloEverywhere\\library diff --git a/res/layout/train_alarm_dialog.xml b/res/layout/train_alarm_dialog.xml index 7dff8dc..c5f18c1 100644 --- a/res/layout/train_alarm_dialog.xml +++ b/res/layout/train_alarm_dialog.xml @@ -5,12 +5,12 @@ android:layout_height="match_parent" android:orientation="horizontal" > - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/com/dougkeen/bart/activities/TrainAlarmDialogFragment.java b/src/com/dougkeen/bart/activities/TrainAlarmDialogFragment.java index b7f9a5f..023bec9 100644 --- a/src/com/dougkeen/bart/activities/TrainAlarmDialogFragment.java +++ b/src/com/dougkeen/bart/activities/TrainAlarmDialogFragment.java @@ -1,5 +1,6 @@ package com.dougkeen.bart.activities; +import net.simonvt.widget.NumberPicker; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; @@ -12,7 +13,6 @@ import com.WazaBe.HoloEverywhere.LayoutInflater; import com.WazaBe.HoloEverywhere.app.AlertDialog; import com.WazaBe.HoloEverywhere.app.Dialog; import com.WazaBe.HoloEverywhere.app.DialogFragment; -import com.WazaBe.HoloEverywhere.widget.NumberPicker; import com.dougkeen.bart.BartRunnerApplication; import com.dougkeen.bart.R; import com.dougkeen.bart.model.Departure;