Merge "Add hint to indicate 'see more' type content"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e8ffec1661
@@ -7094,6 +7094,7 @@ package android.app.slice {
|
||||
field public static final java.lang.String HINT_MAX = "max";
|
||||
field public static final java.lang.String HINT_NO_TINT = "no_tint";
|
||||
field public static final java.lang.String HINT_PARTIAL = "partial";
|
||||
field public static final java.lang.String HINT_SEE_MORE = "see_more";
|
||||
field public static final java.lang.String HINT_SELECTED = "selected";
|
||||
field public static final java.lang.String HINT_SHORTCUT = "shortcut";
|
||||
field public static final java.lang.String HINT_SUMMARY = "summary";
|
||||
|
||||
@@ -65,6 +65,7 @@ public final class Slice implements Parcelable {
|
||||
HINT_TOGGLE,
|
||||
HINT_HORIZONTAL,
|
||||
HINT_PARTIAL,
|
||||
HINT_SEE_MORE
|
||||
})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface SliceHint {}
|
||||
@@ -149,7 +150,11 @@ public final class Slice implements Parcelable {
|
||||
* Used to indicate the maximum integer value for a {@link #SUBTYPE_SLIDER}.
|
||||
*/
|
||||
public static final String HINT_MAX = "max";
|
||||
|
||||
/**
|
||||
* A hint representing that this item should be used to indicate that there's more
|
||||
* content associated with this slice.
|
||||
*/
|
||||
public static final String HINT_SEE_MORE = "see_more";
|
||||
/**
|
||||
* Key to retrieve an extra added to an intent when a control is changed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user