diff --git a/res/drawable/ic_angery_bus.xml b/res/drawable/ic_angery_bus.xml new file mode 100644 --- /dev/null +++ b/res/drawable/ic_angery_bus.xml @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/activity_favorites.xml b/res/layout/activity_favorites.xml --- a/res/layout/activity_favorites.xml +++ b/res/layout/activity_favorites.xml @@ -1,9 +1,19 @@ + + Fermata aggiunta ai preferiti Impossibile aggiungere ai preferiti (memoria piena o database corrotto?)! Preferiti - Tocca il nome di una fermata per aggiungerla in questa lista + Nessun preferito? Arghh! Schiaccia sulla stella di una fermata per aggiungere a questa lista! Rimuovi Rinomina Rinomina fermata diff --git a/res/values/strings.xml b/res/values/strings.xml --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -35,7 +35,7 @@ Bus stop removed from your favorites Favorites Favorites - Press on a bus stop name to populate this list + No favorites? Arghh! Press on a bus stop star to populate this list! Delete Rename Rename the bus stop diff --git a/src/it/reyboz/bustorino/ActivityFavorites.java b/src/it/reyboz/bustorino/ActivityFavorites.java --- a/src/it/reyboz/bustorino/ActivityFavorites.java +++ b/src/it/reyboz/bustorino/ActivityFavorites.java @@ -256,6 +256,8 @@ TextView favoriteTipTextView = (TextView) findViewById(R.id.favoriteTipTextView); assert favoriteTipTextView != null; favoriteTipTextView.setVisibility(View.VISIBLE); + ImageView angeryBusImageView = (ImageView) findViewById(R.id.angeryBusImageView); + angeryBusImageView.setVisibility(View.VISIBLE); } /* There's a nice method called notifyDataSetChanged() to avoid building the ListView