summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMario Bertschler <bmario@google.com>2017-05-16 20:08:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-05-16 20:08:08 +0000
commit8ffddbb7c215f280b714661b8cae01246bde9956 (patch)
tree85cfcf267e37754635c4950c0963c111fc70cbc6 /src
parent441c628a751be4960b6955dfdf4e9557f0fc5220 (diff)
parent0287a44c81244d7b03cd964949203d58f548af93 (diff)
downloadandroid_packages_apps_Trebuchet-8ffddbb7c215f280b714661b8cae01246bde9956.tar.gz
android_packages_apps_Trebuchet-8ffddbb7c215f280b714661b8cae01246bde9956.tar.bz2
android_packages_apps_Trebuchet-8ffddbb7c215f280b714661b8cae01246bde9956.zip
Merge "Minor polishment on app discovery UI." into ub-launcher3-dorval
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/discovery/AppDiscoveryItemView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/discovery/AppDiscoveryItemView.java b/src/com/android/launcher3/discovery/AppDiscoveryItemView.java
index 9bb3b100e..809d7249d 100644
--- a/src/com/android/launcher3/discovery/AppDiscoveryItemView.java
+++ b/src/com/android/launcher3/discovery/AppDiscoveryItemView.java
@@ -82,7 +82,7 @@ public class AppDiscoveryItemView extends RelativeLayout {
mPrice.setText(info.priceFormatted != null ? info.priceFormatted : "");
mReviewCount.setVisibility(SHOW_REVIEW_COUNT ? View.VISIBLE : View.GONE);
if (info.rating >= 0) {
- mRatingText.setText(new DecimalFormat("#.#").format(info.rating));
+ mRatingText.setText(new DecimalFormat("#.0").format(info.rating));
mRatingView.setRating(info.rating);
mRatingView.setVisibility(View.VISIBLE);
String reviewCountFormatted = NumberFormat.getInstance().format(info.reviewCount);