Merge "Update colors for Digital Wellbeing Toast." into sc-dev am: 3558f084f3

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14737897

Change-Id: Ibe1372b4d4bb172ace05f5b694d44a6c0ee0e737
This commit is contained in:
TreeHugger Robot
2021-05-28 02:21:48 +00:00
committed by Automerger Merge Worker
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"/>