Shrink notification history views to fit
If an app hasn't posted many notifications, don't show extra whitespace after its notifications Test: manual, look at apps that have posted 1-3 notifications, and 10+ Fixes: 199944158 Change-Id: I8ed3e25cd35956eae9ce2fc5677710a34200bdfc
This commit is contained in:
@@ -163,7 +163,7 @@ public class NotificationHistoryActivity extends CollapsingToolbarBaseActivity {
|
||||
View viewForPackage = LayoutInflater.from(this)
|
||||
.inflate(R.layout.notification_history_app_layout, null);
|
||||
|
||||
final View container = viewForPackage.findViewById(R.id.notification_list);
|
||||
final View container = viewForPackage.findViewById(R.id.notification_list_wrapper);
|
||||
container.setVisibility(View.GONE);
|
||||
View header = viewForPackage.findViewById(R.id.app_header);
|
||||
NotificationExpandButton expand = viewForPackage.findViewById(
|
||||
|
Reference in New Issue
Block a user