From c72d07ce3a45737ecca1f24b168bc65578c1be2a Mon Sep 17 00:00:00 2001 From: "dkeen@dkeen-laptop" Date: Mon, 2 Jan 2012 16:08:43 -0700 Subject: [PATCH] Now shows fares --- AndroidManifest.xml | 4 +- res/layout/favorite_listing.xml | 48 +++++-- res/values/styles.xml | 8 ++ src/com/dougkeen/bart/Constants.java | 3 +- src/com/dougkeen/bart/FareContentHandler.java | 46 +++++++ .../bart/GetRealTimeDeparturesTask.java | 36 +----- src/com/dougkeen/bart/GetRouteFareTask.java | 122 ++++++++++++++++++ src/com/dougkeen/bart/NetworkUtils.java | 38 ++++++ src/com/dougkeen/bart/Route.java | 25 +++- src/com/dougkeen/bart/RoutesListActivity.java | 78 ++++++++++- .../bart/data/BartContentProvider.java | 37 ++++-- src/com/dougkeen/bart/data/CursorUtils.java | 3 + .../dougkeen/bart/data/DatabaseHelper.java | 77 ++++++++++- src/com/dougkeen/bart/data/RoutesColumns.java | 15 ++- 14 files changed, 466 insertions(+), 74 deletions(-) create mode 100644 src/com/dougkeen/bart/FareContentHandler.java create mode 100644 src/com/dougkeen/bart/GetRouteFareTask.java create mode 100644 src/com/dougkeen/bart/NetworkUtils.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 36b3f3f..380f724 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="9" + android:versionName="1.1" > diff --git a/res/layout/favorite_listing.xml b/res/layout/favorite_listing.xml index e4e1422..9ee5f69 100644 --- a/res/layout/favorite_listing.xml +++ b/res/layout/favorite_listing.xml @@ -1,13 +1,39 @@ - - - - + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="5dp" + android:paddingRight="5dp" > + + + + + + + + + + \ No newline at end of file diff --git a/res/values/styles.xml b/res/values/styles.xml index e50bb01..2a323ed 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -18,6 +18,14 @@ true + +