Overview - Remove the space withheld for proactive chips
Remove the space in the ui that was being used for chips. Centralize some of the logic around calculating the action margins to aid that. Bug: 179922117 Test: Local build and flash and run Change-Id: Icd2f894c858fab475c5411f3f7c412b899d5b220
This commit is contained in:
@@ -132,6 +132,12 @@ public class TaskView extends FrameLayout implements Reusable {
|
||||
@IntDef({FLAG_UPDATE_ALL, FLAG_UPDATE_ICON, FLAG_UPDATE_THUMBNAIL})
|
||||
public @interface TaskDataChanges {}
|
||||
|
||||
/**
|
||||
* Should the layout account for space for a proactive action (or chip) to be added under
|
||||
* the task.
|
||||
*/
|
||||
public static final boolean SHOW_PROACTIVE_ACTIONS = false;
|
||||
|
||||
/** The maximum amount that a task view can be scrimmed, dimmed or tinted. */
|
||||
public static final float MAX_PAGE_SCRIM_ALPHA = 0.4f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user