Merge "Correctly make to spec the color for "Turn on work apps" button and add stroke" into tm-qpr-dev
This commit is contained in:
commit
d0838d3ac1
|
@ -13,7 +13,7 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<resources>
|
<resources xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
|
||||||
|
|
||||||
<color name="gesture_tutorial_back_arrow_color">#99000000</color>
|
<color name="gesture_tutorial_back_arrow_color">#99000000</color>
|
||||||
|
|
||||||
|
@ -24,4 +24,6 @@
|
||||||
|
|
||||||
<color name="all_set_page_background">#FF000000</color>
|
<color name="all_set_page_background">#FF000000</color>
|
||||||
|
|
||||||
|
<!-- Turn on work apps button -->
|
||||||
|
<color name="work_turn_on_stroke">?androidprv:attr/colorAccentSecondaryVariant</color>
|
||||||
</resources>
|
</resources>
|
|
@ -13,7 +13,7 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<resources xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
|
||||||
|
|
||||||
<color name="chip_hint_foreground_color">#fff</color>
|
<color name="chip_hint_foreground_color">#fff</color>
|
||||||
<color name="chip_scrim_start_color">#39000000</color>
|
<color name="chip_scrim_start_color">#39000000</color>
|
||||||
|
@ -95,4 +95,6 @@
|
||||||
<color name="lottie_yellow400">#fcc934</color>
|
<color name="lottie_yellow400">#fcc934</color>
|
||||||
<color name="lottie_yellow600">#f9ab00</color>
|
<color name="lottie_yellow600">#f9ab00</color>
|
||||||
|
|
||||||
|
<!-- Turn on work apps button -->
|
||||||
|
<color name="work_turn_on_stroke">?androidprv:attr/colorAccentPrimaryVariant</color>
|
||||||
</resources>
|
</resources>
|
|
@ -21,11 +21,12 @@
|
||||||
<solid android:color="@android:color/white" />
|
<solid android:color="@android:color/white" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item android:id="@android:id/background">
|
<item android:id="@android:id/background">
|
||||||
<shape android:shape="rectangle">
|
<shape android:shape="rectangle">
|
||||||
<solid android:color="?android:attr/colorControlHighlight" />
|
|
||||||
<corners android:radius="@dimen/rounded_button_radius" />
|
<corners android:radius="@dimen/rounded_button_radius" />
|
||||||
|
<stroke
|
||||||
|
android:width="@dimen/work_apps_paused_button_stroke"
|
||||||
|
android:color="@color/work_turn_on_stroke" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</ripple>
|
</ripple>
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/PrimaryHeadline"
|
style="@style/PrimaryHeadline"
|
||||||
android:textColor="?attr/workProfileOverlayTextColor"
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
android:id="@+id/work_apps_paused_title"
|
android:id="@+id/work_apps_paused_title"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="@dimen/rounded_button_height"
|
android:layout_height="@dimen/rounded_button_height"
|
||||||
android:id="@+id/enable_work_apps"
|
android:id="@+id/enable_work_apps"
|
||||||
android:textColor="?attr/workProfileOverlayTextColor"
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
android:text="@string/work_apps_enable_btn_text"
|
android:text="@string/work_apps_enable_btn_text"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:background="@drawable/bg_work_apps_paused_action_button"
|
android:background="@drawable/bg_work_apps_paused_action_button"
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
<attr name="folderTextColor" format="color" />
|
<attr name="folderTextColor" format="color" />
|
||||||
<attr name="folderHintColor" format="color" />
|
<attr name="folderHintColor" format="color" />
|
||||||
<attr name="isFolderDarkText" format="boolean" />
|
<attr name="isFolderDarkText" format="boolean" />
|
||||||
<attr name="workProfileOverlayTextColor" format="color" />
|
|
||||||
<attr name="workspaceAccentColor" format="color" />
|
<attr name="workspaceAccentColor" format="color" />
|
||||||
<attr name="dropTargetHoverTextColor" format="color" />
|
<attr name="dropTargetHoverTextColor" format="color" />
|
||||||
<attr name="preloadIconAccentColor" format="color" />
|
<attr name="preloadIconAccentColor" format="color" />
|
||||||
|
|
|
@ -86,4 +86,6 @@
|
||||||
<color name="preload_icon_background_color_light">#B5CAD7</color>
|
<color name="preload_icon_background_color_light">#B5CAD7</color>
|
||||||
<color name="preload_icon_accent_color_dark">#4BB6E8</color>
|
<color name="preload_icon_accent_color_dark">#4BB6E8</color>
|
||||||
<color name="preload_icon_background_color_dark">#40484D</color>
|
<color name="preload_icon_background_color_dark">#40484D</color>
|
||||||
|
|
||||||
|
<color name="work_turn_on_stroke">?android:attr/colorAccent</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -155,6 +155,7 @@
|
||||||
<dimen name="work_edu_card_margin">16dp</dimen>
|
<dimen name="work_edu_card_margin">16dp</dimen>
|
||||||
<dimen name="work_edu_card_radius">16dp</dimen>
|
<dimen name="work_edu_card_radius">16dp</dimen>
|
||||||
<dimen name="work_edu_card_bottom_margin">26dp</dimen>
|
<dimen name="work_edu_card_bottom_margin">26dp</dimen>
|
||||||
|
<dimen name="work_apps_paused_button_stroke">1dp</dimen>
|
||||||
|
|
||||||
<dimen name="work_card_margin">24dp</dimen>
|
<dimen name="work_card_margin">24dp</dimen>
|
||||||
<!-- (x) icon button inside work edu card -->
|
<!-- (x) icon button inside work edu card -->
|
||||||
|
|
|
@ -59,7 +59,6 @@
|
||||||
<item name="folderHintColor">@color/folder_hint_text_color_dark</item>
|
<item name="folderHintColor">@color/folder_hint_text_color_dark</item>
|
||||||
<item name="loadingIconColor">#CCFFFFFF</item>
|
<item name="loadingIconColor">#CCFFFFFF</item>
|
||||||
<item name="iconOnlyShortcutColor">?android:attr/textColorSecondary</item>
|
<item name="iconOnlyShortcutColor">?android:attr/textColorSecondary</item>
|
||||||
<item name="workProfileOverlayTextColor">#FF212121</item>
|
|
||||||
<item name="eduHalfSheetBGColor">?android:attr/colorAccent</item>
|
<item name="eduHalfSheetBGColor">?android:attr/colorAccent</item>
|
||||||
<item name="workspaceAccentColor">@color/workspace_accent_color_light</item>
|
<item name="workspaceAccentColor">@color/workspace_accent_color_light</item>
|
||||||
<item name="dropTargetHoverTextColor">@color/workspace_text_color_dark</item>
|
<item name="dropTargetHoverTextColor">@color/workspace_text_color_dark</item>
|
||||||
|
@ -114,7 +113,6 @@
|
||||||
<item name="isMainColorDark">true</item>
|
<item name="isMainColorDark">true</item>
|
||||||
<item name="loadingIconColor">#99FFFFFF</item>
|
<item name="loadingIconColor">#99FFFFFF</item>
|
||||||
<item name="iconOnlyShortcutColor">#B3FFFFFF</item>
|
<item name="iconOnlyShortcutColor">#B3FFFFFF</item>
|
||||||
<item name="workProfileOverlayTextColor">@android:color/white</item>
|
|
||||||
<item name="eduHalfSheetBGColor">#DD000000</item>
|
<item name="eduHalfSheetBGColor">#DD000000</item>
|
||||||
<item name="overviewScrimColor">@color/overview_scrim_dark</item>
|
<item name="overviewScrimColor">@color/overview_scrim_dark</item>
|
||||||
<item name="preloadIconAccentColor">@color/preload_icon_accent_color_dark</item>
|
<item name="preloadIconAccentColor">@color/preload_icon_accent_color_dark</item>
|
||||||
|
|
Loading…
Reference in New Issue