Merge "Adds the lightning badge for Instant Apps" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ef64404f44
@@ -212,6 +212,10 @@ public class AppHeaderController {
|
||||
ImageView iconView = (ImageView) mAppHeader.findViewById(R.id.app_detail_icon);
|
||||
if (iconView != null) {
|
||||
iconView.setImageDrawable(mIcon);
|
||||
ImageView badgeView = mAppHeader.findViewById(R.id.app_icon_instant_apps_badge);
|
||||
if (badgeView != null) {
|
||||
badgeView.setVisibility(mIsInstantApp ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
}
|
||||
setText(R.id.app_detail_title, mLabel);
|
||||
setText(R.id.app_detail_summary, mSummary);
|
||||
|
Reference in New Issue
Block a user