Added Wifi Assistant Card
+ Show Wi-Fi Assistant card above network list that scroll under the action bar with the rest of the list + Display a promo image and text + Clicking "Setup" should link to the selected Wi-Fi assistant app (must be open to 3rd parties) + Touching "No, Thanks" should snooze this card for 30 days / 2nd time 90 / 3rd time 180 days / then forever Bug: 15703202 Change-Id: If74101bea630246c6bda2de3ed79fee72eca4c0c
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
<color name="setup_divider_color_dark">#33ffffff</color>
|
||||
<color name="setup_divider_color_light">#33000000</color>
|
||||
<color name="setup_add_wifi_network_text_color">#ff009587</color>
|
||||
<color name="setup_add_wifi_network_background_color">#ff009587</color>
|
||||
|
||||
<color name="circle_avatar_frame_color">#ffffffff</color>
|
||||
<color name="circle_avatar_frame_shadow_color">#80000000</color>
|
||||
|
||||
@@ -165,4 +165,10 @@
|
||||
<dimen name="search_suggestion_item_image_margin_start">32dp</dimen>
|
||||
<dimen name="search_suggestion_item_image_margin_end">16dp</dimen>
|
||||
|
||||
<!-- Dimensions for Wifi Assistant Card -->
|
||||
<dimen name="wifi_assistant_padding_top_bottom">16dp</dimen>
|
||||
<dimen name="wifi_assistant_padding_start_end">16dp</dimen>
|
||||
<dimen name="wifi_assistant_padding">25dp</dimen>
|
||||
<dimen name="wifi_assistant_text_padding">16dp</dimen>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -1288,6 +1288,8 @@
|
||||
<!-- Bluetooth settings. Dock Setting Dialog - Remember setting and don't ask user again -->
|
||||
<string name="bluetooth_dock_settings_remember">Remember settings</string>
|
||||
|
||||
<!-- Wifi Assistant title string. [CHAR LIMIT=20] -->
|
||||
<string name="wifi_assistant_intro_setup">Introducing\nWi\u2011Fi Assistant</string>
|
||||
<!-- Wifi Assistant title string. [CHAR LIMIT=40] -->
|
||||
<string name="wifi_assistant_title">Wi\u2011Fi Assistant</string>
|
||||
<!-- Wifi Assistant No, thanks string. Text to say no to wifi assistant. [CHAR LIMIT=20] -->
|
||||
|
||||
@@ -262,6 +262,16 @@
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="WifiAssistantText">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="WifiAssistantButton">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
|
||||
<item name="android:textColor">@color/setup_add_wifi_network_text_color</item>
|
||||
</style>
|
||||
|
||||
<!-- Scrollbar style OUTSIDE_OVERLAY -->
|
||||
<integer name="preference_scrollbar_style">33554432</integer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user