aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-02-26 18:16:40 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-02-26 18:16:40 +0000
commit81c21ccf040f6c050525de99a8a8078bd8ef03ac (patch)
treee112be91428f07125cfed9c5b7710a7fe9e3e823
parent731a2b26410f6fa6427acdf675376742793c6332 (diff)
downloadsouthamptonuniversitymap-81c21ccf040f6c050525de99a8a8078bd8ef03ac.tar
southamptonuniversitymap-81c21ccf040f6c050525de99a8a8078bd8ef03ac.tar.gz
Move to version 0.4
-rw-r--r--AndroidManifest.xml4
-rw-r--r--gen/net/cbaines/suma/R.java1
-rw-r--r--res/layout/building_activity.xml3
-rw-r--r--res/values/strings.xml1
-rw-r--r--src/net/cbaines/suma/BuildingActivity.java2
5 files changed, 7 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 3a93397..6355013 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.cbaines.suma"
- android:versionCode="6"
- android:versionName="0.3 (alpha)" >
+ android:versionCode="7"
+ android:versionName="0.4 (alpha)" >
<uses-sdk android:minSdkVersion="7" />
diff --git a/gen/net/cbaines/suma/R.java b/gen/net/cbaines/suma/R.java
index 3c3078e..06657e6 100644
--- a/gen/net/cbaines/suma/R.java
+++ b/gen/net/cbaines/suma/R.java
@@ -183,6 +183,7 @@ public final class R {
public static final int about_version_summary=0x7f070036;
public static final int app_name=0x7f070004;
public static final int bitcoin_error_message=0x7f07001b;
+ public static final int buildingImageDescription=0x7f07004f;
public static final int building_non_residential=0x7f070007;
public static final int building_residential=0x7f070006;
public static final int bustimes_favourite_checkbox_label=0x7f07002e;
diff --git a/res/layout/building_activity.xml b/res/layout/building_activity.xml
index a76ad53..6ed937f 100644
--- a/res/layout/building_activity.xml
+++ b/res/layout/building_activity.xml
@@ -34,6 +34,7 @@
android:id="@+id/buildingActivityImage"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:background="@null" />
+ android:background="@null"
+ android:contentDescription="@string/buildingImageDescription" />
</LinearLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c602a26..e95a802 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -127,5 +127,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.<
<string name="about_database_summary">Using the ORMLite library.</string>
<string name="about_donate">Donate</string>
<string name="about_donate_summary">Make a personal donation to the developer through Bitcoin.</string>
+ <string name="buildingImageDescription">Image of the Building</string>
</resources> \ No newline at end of file
diff --git a/src/net/cbaines/suma/BuildingActivity.java b/src/net/cbaines/suma/BuildingActivity.java
index 45babbc..6b03164 100644
--- a/src/net/cbaines/suma/BuildingActivity.java
+++ b/src/net/cbaines/suma/BuildingActivity.java
@@ -72,7 +72,7 @@ public class BuildingActivity extends OrmLiteBaseActivity<DatabaseHelper> implem
favouritesCheckBox.setOnCheckedChangeListener(this);
buildingName = (TextView) findViewById(R.id.buildingActivityName);
- buildingID = (TextView) findViewById(R.id.buildingActivityName);
+ buildingID = (TextView) findViewById(R.id.buildingActivityID);
Log.i(TAG, "Building id " + ID);