Previously the color was hardcoded and will only match a specific theme, but colors should ideally follow the current set theme. This is set based on figma: http://shortn/_Wm63LfxEtr Rose light mode: http://shortn/_sudvh3q9Zh Rose dark mode: http://shortn/_2i8BSmoKMH Green light mode: http://shortn/_lIcjcvHess Green dark mode: http://shortn/_U3pFHGkkcb Bug: 420773702 Test: manual Flag: EXEMPT bug fix Change-Id: I2792902a45f3970cfe2f7b7cd6698a36d0c0cbce
53 lines
2.1 KiB
XML
53 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
Copyright 2025 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="72dp"
|
|
android:layout_height="72dp"
|
|
android:src="@drawable/no_external_display_connected" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:fontFamily="google-sans-flex"
|
|
android:fontWeight="500"
|
|
android:lineHeight="28sp"
|
|
android:text="@string/external_display_no_display_connected_screen_title"
|
|
android:textColor="@androidprv:color/materialColorOnSurface"
|
|
android:textSize="22sp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginTop="8dp"
|
|
android:fontFamily="google-sans-flex"
|
|
android:fontWeight="500"
|
|
android:lineHeight="24sp"
|
|
android:text="@string/external_display_no_display_connected_screen_summary"
|
|
android:textAlignment="center"
|
|
android:textColor="@androidprv:color/materialColorOnSurfaceVariant"
|
|
android:textSize="16sp" />
|
|
|
|
</LinearLayout> |