Update colors for Digital Wellbeing Toast.

Bug: 179922117
Test: Local
Change-Id: Iec58238ba92218ab2a22027b9c821804fb0d9df2
This commit is contained in:
zakcohen 2021-05-04 11:17:28 -07:00
parent fa7c98ee45
commit 14b6898126
2 changed files with 7 additions and 4 deletions

View File

@ -13,7 +13,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#E61A73E8" />
<shape xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:priv-android="http://schemas.android.com/apk/prv/res/android"
android:shape="rectangle">
<solid android:color="?priv-android:attr/colorAccentPrimary" />
<corners android:radius="?android:attr/dialogCornerRadius" />
</shape>

View File

@ -16,12 +16,13 @@
-->
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:priv-android="http://schemas.android.com/apk/prv/res/android"
style="@style/TextTitle"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@drawable/bg_wellbeing_toast"
android:fontFamily="sans-serif"
android:forceHasOverlappingRendering="false"
android:gravity="center"
android:importantForAccessibility="noHideDescendants"
android:textColor="@android:color/white"
android:textColor="?priv-android:attr/textColorOnAccent"
android:textSize="14sp"/>