diff options
author | Setup Wizard Team <android-setup-team-eng@google.com> | 2021-01-12 14:20:45 +0800 |
---|---|---|
committer | pastychang <pastychang@google.com> | 2021-01-12 20:32:43 +0800 |
commit | 3ddbe9bee73c8fd63ee3978a4b3b7700fc011903 (patch) | |
tree | 9b13e33a628131847dc4c579268b775fc6869e80 /partnerconfig | |
parent | 642e096118cf976f9ac1bc6319176f7cd9b08773 (diff) | |
download | setupcompat-3ddbe9bee73c8fd63ee3978a4b3b7700fc011903.tar.gz |
Import updated Android SetupCompat Library 351303342
Copied from google3/third_party/java_src/android_libs/setupcompat
Test: mm
Included changes:
- 351303342 [SetupCompat] Extract the default value from setupcompat
- 351300492 Reorder BC partner resources in sample app
- 351286155 [Portal] Implement GmsTaskProgressItem
- 351267701 [Portal] Refine interface, return result Bundle when prog...
- 350721878 [BC][Stencil] Add partner resource for the content paddin...
PiperOrigin-RevId: 351303342
Change-Id: I5f6e27c3fc87aacc9ec829746a2913f7c50d2fa0
Diffstat (limited to 'partnerconfig')
-rw-r--r-- | partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfig.java | 13 | ||||
-rw-r--r-- | partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java | 14 |
2 files changed, 17 insertions, 10 deletions
diff --git a/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfig.java b/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfig.java index 82e353c..49fb0ca 100644 --- a/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfig.java +++ b/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfig.java @@ -139,11 +139,11 @@ public enum PartnerConfig { // Font family of the header CONFIG_HEADER_FONT_FAMILY(PartnerConfigKey.KEY_HEADER_FONT_FAMILY, ResourceType.STRING), - // Margin top size of the header text + // Margin top of the header text CONFIG_HEADER_TEXT_MARGIN_TOP( PartnerConfigKey.KEY_HEADER_TEXT_MARGIN_TOP, ResourceType.DIMENSION), - // Margin bottom size of the header text + // Margin bottom of the header text CONFIG_HEADER_TEXT_MARGIN_BOTTOM( PartnerConfigKey.KEY_HEADER_TEXT_MARGIN_BOTTOM, ResourceType.DIMENSION), @@ -160,7 +160,7 @@ public enum PartnerConfig { CONFIG_HEADER_AREA_BACKGROUND_COLOR( PartnerConfigKey.KEY_HEADER_AREA_BACKGROUND_COLOR, ResourceType.COLOR), - // Margin bottom size of the header container + // Margin bottom of the header container CONFIG_HEADER_CONTAINER_MARGIN_BOTTOM( PartnerConfigKey.KEY_HEADER_CONTAINER_MARGIN_BOTTOM, ResourceType.DIMENSION), @@ -196,11 +196,11 @@ public enum PartnerConfig { // Font family of the description CONFIG_DESCRIPTION_FONT_FAMILY(PartnerConfigKey.KEY_DESCRIPTION_FONT_FAMILY, ResourceType.STRING), - // Margin top size of the description text + // Margin top of the description text CONFIG_DESCRIPTION_TEXT_MARGIN_TOP( PartnerConfigKey.KEY_DESCRIPTION_TEXT_MARGIN_TOP, ResourceType.DIMENSION), - // Margin bottom size of the description text + // Margin bottom of the description text CONFIG_DESCRIPTION_TEXT_MARGIN_BOTTOM( PartnerConfigKey.KEY_DESCRIPTION_TEXT_MARGIN_BOTTOM, ResourceType.DIMENSION), @@ -219,6 +219,9 @@ public enum PartnerConfig { // Gravity of the body content text CONFIG_CONTENT_LAYOUT_GRAVITY(PartnerConfigKey.KEY_CONTENT_LAYOUT_GRAVITY, ResourceType.STRING), + // The padding top of the content + CONFIG_CONTENT_PADDING_TOP(PartnerConfigKey.KEY_CONTENT_PADDING_TOP, ResourceType.DIMENSION), + // The title text size of list items. CONFIG_ITEMS_TITLE_TEXT_SIZE(PartnerConfigKey.KEY_ITEMS_TITLE_TEXT_SIZE, ResourceType.DIMENSION), diff --git a/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java b/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java index d2fd1a5..a7ae415 100644 --- a/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java +++ b/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java @@ -79,6 +79,7 @@ import java.lang.annotation.RetentionPolicy; PartnerConfigKey.KEY_CONTENT_LINK_TEXT_COLOR, PartnerConfigKey.KEY_CONTENT_FONT_FAMILY, PartnerConfigKey.KEY_CONTENT_LAYOUT_GRAVITY, + PartnerConfigKey.KEY_CONTENT_PADDING_TOP, PartnerConfigKey.KEY_ITEMS_TITLE_TEXT_SIZE, PartnerConfigKey.KEY_ITEMS_SUMMARY_TEXT_SIZE, PartnerConfigKey.KEY_ITEMS_SUMMARY_MARGIN_TOP, @@ -195,10 +196,10 @@ public @interface PartnerConfigKey { // Font family of the header String KEY_HEADER_FONT_FAMILY = "setup_design_header_font_family"; - // Margin top size of the header text + // Margin top of the header text String KEY_HEADER_TEXT_MARGIN_TOP = "setup_design_header_text_margin_top"; - // Margin bottom size of the header text + // Margin bottom of the header text String KEY_HEADER_TEXT_MARGIN_BOTTOM = "setup_design_header_text_margin_bottom"; // Gravity of the header, icon and description @@ -213,7 +214,7 @@ public @interface PartnerConfigKey { // Background color of the header area String KEY_HEADER_AREA_BACKGROUND_COLOR = "setup_design_header_area_background_color"; - // Margin bottom size of the header container + // Margin bottom of the header container String KEY_HEADER_CONTAINER_MARGIN_BOTTOM = "setup_design_header_container_margin_bottom"; // Auto text size enabled status @@ -245,10 +246,10 @@ public @interface PartnerConfigKey { // Font family of the description String KEY_DESCRIPTION_FONT_FAMILY = "setup_design_description_font_family"; - // Margin top size of the header text + // Margin top of the header text String KEY_DESCRIPTION_TEXT_MARGIN_TOP = "setup_design_description_text_margin_top"; - // Margin bottom size of the header text + // Margin bottom of the header text String KEY_DESCRIPTION_TEXT_MARGIN_BOTTOM = "setup_design_description_text_margin_bottom"; // Text size of the body content text @@ -266,6 +267,9 @@ public @interface PartnerConfigKey { // Gravity of the body content text String KEY_CONTENT_LAYOUT_GRAVITY = "setup_design_content_layout_gravity"; + // The padding top of the content + String KEY_CONTENT_PADDING_TOP = "setup_design_content_padding_top"; + // The title text size of list items. String KEY_ITEMS_TITLE_TEXT_SIZE = "setup_design_items_title_text_size"; |