Commits

Vincent Schüßler committed 9e911b3

Fix #86: Better 'empty view' for subscriptions

  • Participants
  • Parent commits 20f484e

Comments (0)

Files changed (3)

res/layout/subscription_list.xml

 
     <include layout="@layout/loading_indicator" />
 
-    <TextView
+    <LinearLayout
         android:id="@+id/empty"
         style="@style/EmptyListView"
-        android:text="@string/message_no_subscriptions" />
+        android:orientation="vertical" >
+
+        <TextView
+            android:id="@+id/textView1"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:text="@string/message_no_subscriptions"
+            android:textAppearance="?android:attr/textAppearanceLarge" />
+
+        <TextView
+            android:id="@+id/textView2"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:text="@string/subtitle_no_subscriptions"
+            android:textAppearance="?android:attr/textAppearanceSmall" />
+    </LinearLayout>
 
 </RelativeLayout>

res/values-fr/strings.xml

   <string name="unknown_error">Erreur inconnue</string>
   <string name="title_popular">Populaire</string>
   <string name="title_search_results">Résultats de la recherche</string>
-  <string name="title_search_results_for">Résultats de la recherche pour \"en %\"</string>
+  <string name="title_search_results_for">Résultats de la recherche pour en %s”</string>
   <string name="message_subscribing_podcast">S\'abonner au podcast...</string>
   <string name="title_tag_all">Tous</string>
   <string name="button_retry">Recommencer</string>

res/values/strings.xml

     <string name="button_flattr">Flattr</string>
     <string name="title_error_flattr_authorization">Authorization Error</string>
     <string name="message_error_flattr_authorization">Flattr authorization failed</string>
-
+	<string name="subtitle_no_subscriptions">Try and add some by pressing the ”+” on top</string>
 </resources>