summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMario Bertschler <bmario@google.com>2017-05-16 11:44:17 -0700
committerMario Bertschler <bmario@google.com>2017-05-16 11:48:23 -0700
commit0287a44c81244d7b03cd964949203d58f548af93 (patch)
tree51611996b90c45aa36324991c672552ac2a7d705 /src
parente7539e9be6e446fb97b12af0b3899d8b64197f3c (diff)
downloadandroid_packages_apps_Trebuchet-0287a44c81244d7b03cd964949203d58f548af93.tar.gz
android_packages_apps_Trebuchet-0287a44c81244d7b03cd964949203d58f548af93.tar.bz2
android_packages_apps_Trebuchet-0287a44c81244d7b03cd964949203d58f548af93.zip
Minor polishment on app discovery UI.
b/38341964 b/38342208 b/38341681 Change-Id: I8dfe4f5431cbfa96573c0461fddd410367c9ad13
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);