diff --git a/libs/contextualcards.aar b/libs/contextualcards.aar index 5e855fa0dec..892a6be26e6 100755 Binary files a/libs/contextualcards.aar and b/libs/contextualcards.aar differ diff --git a/protos/contextual_card_list.proto b/protos/contextual_card_list.proto index 89e6c138640..ea82408d893 100644 --- a/protos/contextual_card_list.proto +++ b/protos/contextual_card_list.proto @@ -8,12 +8,24 @@ message ContextualCardList { } message ContextualCard { - // Slice uri of the contextual card + + /** + * The category of a card: this is a hint for how a card should be collected, + * ranked, and presented + */ + enum Category { + DEFAULT = 0; + SUGGESTION = 1; + POSSIBLE = 2; + IMPORTANT = 3; + EXCLUSIVE = 4; + } + + /** Slice uri of the contextual card */ optional string sliceUri = 1; - // {@link ContextualCardCategory}. - optional int32 category = 2; - - // Name of the card. It should be identical in every app + /** Name of the card. It should be identical in every app */ optional string cardName = 3; -} \ No newline at end of file + + optional Category card_category = 4; +} diff --git a/res/layout/homepage_condition_full_tile.xml b/res/layout/homepage_condition_full_tile.xml new file mode 100644 index 00000000000..f00132b8507 --- /dev/null +++ b/res/layout/homepage_condition_full_tile.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + +