Merge "Fix marquee on app snippet in InstalledAppDetails" into mnc-dev

This commit is contained in:
Jason Monk
2015-06-24 19:04:28 +00:00
committed by Android (Google) Code Review
2 changed files with 16 additions and 8 deletions

View File

@@ -763,6 +763,7 @@ public class InstalledAppDetails extends AppInfoBase
TextView appVersion = (TextView) appSnippet.findViewById(R.id.widget_text1);
if (!TextUtils.isEmpty(versionName)) {
appVersion.setSelected(true);
appVersion.setVisibility(View.VISIBLE);
appVersion.setText(appSnippet.getContext().getString(R.string.version_text,
String.valueOf(versionName)));