Fix marquee on app snippet in InstalledAppDetails
First need to fix layout of the app_item as the widget was running over the end of the view, do this by switching to a RelativeLayout. Then select the view so it can actually marquee. Bug: 22043942 Change-Id: Ieb94649ccf3dc8dcf56014c02fcdc06da71a9a62
This commit is contained in:
@@ -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)));
|
||||
|
Reference in New Issue
Block a user