Commit eb880760 authored by Becky Zhou's avatar Becky Zhou Committed by Commit Bot

[Dark] Some icon/text color update on dark mode

+ Change download storage permission icon to primary icon color
+ Unify download stroage permission dialog text style
+ Update icon and text color on text bubble for dark mode

Bug: 958489, 958501
Change-Id: I8a8003191a3ec28a01fd6d905997fbb0182361ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1592620Reviewed-by: default avatarTheresa <twellington@chromium.org>
Commit-Queue: Becky Zhou <huayinz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#656430}
parent cb3ff00b
...@@ -8,4 +8,4 @@ ...@@ -8,4 +8,4 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="16dp" android:padding="16dp"
android:textAppearance="@style/TextAppearance.WhiteTitle2" /> android:textAppearance="@style/TextAppearance.Title2.Inverse" />
...@@ -23,12 +23,12 @@ ...@@ -23,12 +23,12 @@
android:layout_marginEnd="12dp" android:layout_marginEnd="12dp"
tools:ignore="ContentDescription" tools:ignore="ContentDescription"
android:scaleType="centerInside" android:scaleType="centerInside"
app:tint="@color/white_mode_tint" /> app:tint="@color/default_icon_color_inverse" />
<TextView <TextView
android:id="@+id/message" android:id="@+id/message"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.WhiteTitle2" /> android:textAppearance="@style/TextAppearance.Title2.Inverse" />
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -3,24 +3,28 @@ ...@@ -3,24 +3,28 @@
Use of this source code is governed by a BSD-style license that can be Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. found in the LICENSE file.
--> -->
<FrameLayout <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:gravity="start" android:gravity="start"
style="@style/AlertDialogContent" > style="@style/AlertDialogContent">
<ImageView
<org.chromium.ui.widget.ChromeImageView
android:id="@+id/icon" android:id="@+id/icon"
android:layout_width="32dp" android:layout_width="32dp"
android:layout_height="32dp" android:layout_height="32dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:src="@drawable/exclamation_triangle" android:src="@drawable/exclamation_triangle"
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription"
<TextView app:tint="@color/default_icon_color" />
<org.chromium.ui.widget.TextViewWithLeading
android:id="@+id/text" android:id="@+id/text"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="18sp" android:textAppearance="@style/TextAppearance.BlackTitle1"
android:paddingTop="0dp" android:paddingTop="0dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_marginStart="48dp" /> android:layout_marginStart="48dp"
app:leading="@dimen/text_size_large_leading" />
</FrameLayout> </FrameLayout>
...@@ -193,6 +193,10 @@ ...@@ -193,6 +193,10 @@
<style name="TextAppearance.Body.Inverse" parent="TextAppearance.WhiteBody" tools:ignore="UnusedResources"> <style name="TextAppearance.Body.Inverse" parent="TextAppearance.WhiteBody" tools:ignore="UnusedResources">
<item name="android:textColor">@color/default_text_color_inverse</item> <item name="android:textColor">@color/default_text_color_inverse</item>
</style> </style>
<style name="TextAppearance.Title2.Inverse" parent="TextAppearance.WhiteTitle2"
tools:ignore="UnusedResources">
<item name="android:textColor">@color/default_text_color_inverse</item>
</style>
<!-- Blue Text Styles --> <!-- Blue Text Styles -->
<style name="TextAppearance.BlueTitle2" parent="TextAppearance.RobotoMediumStyle" tools:ignore="UnusedResources"> <style name="TextAppearance.BlueTitle2" parent="TextAppearance.RobotoMediumStyle" tools:ignore="UnusedResources">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment