flavor image prompt: make it less specific

This commit is contained in:
Andrew Dolgov 2015-07-10 14:32:58 +03:00
parent d1cf6a071c
commit 8c177bdbac
3 changed files with 2 additions and 7 deletions

View File

@ -1143,7 +1143,6 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
imgSrc = "http:" + imgSrc; imgSrc = "http:" + imgSrc;
if (article.flavorImageCount > 1) { if (article.flavorImageCount > 1) {
holder.flavorImagePrompt.setText(getResources().getQuantityString(R.plurals.flavor_image_prompt, article.flavorImageCount-1, article.flavorImageCount-1));
holder.flavorImagePrompt.setVisibility(View.VISIBLE); holder.flavorImagePrompt.setVisibility(View.VISIBLE);
} }

View File

@ -107,7 +107,7 @@
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:gravity="center" android:gravity="center"
android:textColor="@android:color/primary_text_dark" android:textColor="@android:color/primary_text_dark"
android:text="5 more images" android:text="@string/flavor_image_prompt"
android:background="#90000000" android:background="#90000000"
android:visibility="gone" android:visibility="gone"
android:id="@+id/flavor_image_prompt" /> android:id="@+id/flavor_image_prompt" />

View File

@ -231,9 +231,5 @@
<string name="video_player_share">Share video</string> <string name="video_player_share">Share video</string>
<string name="video_player_open">Open video</string> <string name="video_player_open">Open video</string>
<plurals name="flavor_image_prompt"> <string name="flavor_image_prompt">(more images...)</string>
<item quantity="zero"></item>
<item quantity="one">(one more image)</item>
<item quantity="other">(%1$d more images)</item>
</plurals>
</resources> </resources>