diff --git a/res/layout/fragment_list_view.xml b/res/layout/fragment_list_view.xml
--- a/res/layout/fragment_list_view.xml
+++ b/res/layout/fragment_list_view.xml
@@ -3,44 +3,46 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
-
-
+ fab:cardElevation="2dp"
+ fab:cardCornerRadius="5dp"
+ android:layout_margin="16dp">
-
+
+
+
+
+
-
\ No newline at end of file
+ android:id="@+id/resultsListView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/favorites_cardView"
+ android:clickable="true"
+ android:descendantFocusability="blocksDescendants"
+ android:visibility="visible" />
+
\ No newline at end of file
diff --git a/res/values-it/strings.xml b/res/values-it/strings.xml
--- a/res/values-it/strings.xml
+++ b/res/values-it/strings.xml
@@ -35,7 +35,7 @@
Rinomina fermata
Reset
Informazioni
- Tocca il nome della fermata per aggiungerla ai preferiti\n\nCome leggere gli orari:\n 12:56* Orario in tempo reale\n 12:56 Orario programmato\n\nTrascina giù per aggiornare l\'orario.
+ Tocca il nome della fermata o la stella per aggiungerla ai preferiti\n\nCome leggere gli orari:\n 12:56* Orario in tempo reale\n 12:56 Orario programmato\n\nTrascina giù per aggiornare l\'orario.
OK !
Reset
About
- Tap the bus stop name
+ Tap the bus stop name or the star
to add it to the favourites\n\nHow to read timelines:\n 12:56* Real-time
arrivals\n 12:56 Scheduled arrivals\n\nPull down to refresh the timetable
diff --git a/src/it/reyboz/bustorino/fragments/ResultListFragment.java b/src/it/reyboz/bustorino/fragments/ResultListFragment.java
--- a/src/it/reyboz/bustorino/fragments/ResultListFragment.java
+++ b/src/it/reyboz/bustorino/fragments/ResultListFragment.java
@@ -302,9 +302,18 @@
mListener.toggleLastStopToFavorites();
}
});
+ messageTextView.setClickable(true);
+ messageTextView.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ // add/remove the stop in the favorites
+ mListener.toggleLastStopToFavorites();
+ }
+ });
break;
case STOPS:
addToFavorites.setClickable(false);
+ messageTextView.setClickable(false);
break;
}