Merge "Clean up resources for date, weather, and aqi complications." into tm-qpr-dev am: a668ed6134
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20723733 Change-Id: I2257308b948bd22faf41eaa9a35fab9567218ff0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1,20 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Copyright (C) 2022 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<solid android:color="@color/dream_overlay_aqi_unknown" />
|
|
||||||
<corners android:radius="@dimen/dream_aqi_badge_corner_radius" />
|
|
||||||
</shape>
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Copyright (C) 2022 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/aqi_view"
|
|
||||||
style="@style/clock_subtitle"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:background="@drawable/dream_aqi_badge_bg"
|
|
||||||
android:paddingHorizontal="@dimen/dream_aqi_badge_padding_horizontal"
|
|
||||||
android:paddingVertical="@dimen/dream_aqi_badge_padding_vertical"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"/>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (C) 2022 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.
|
|
||||||
-->
|
|
||||||
<TextClock
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/date_view"
|
|
||||||
style="@style/clock_subtitle"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:format12Hour="@string/dream_date_complication_date_format"
|
|
||||||
android:format24Hour="@string/dream_date_complication_date_format"/>
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (C) 2022 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.
|
|
||||||
-->
|
|
||||||
<TextView
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/weather_view"
|
|
||||||
style="@style/clock_subtitle"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content" />
|
|
||||||
@@ -236,15 +236,6 @@
|
|||||||
|
|
||||||
<color name="dream_overlay_camera_mic_off_dot_color">#FCBE03</color>
|
<color name="dream_overlay_camera_mic_off_dot_color">#FCBE03</color>
|
||||||
|
|
||||||
<!-- Air Quality -->
|
|
||||||
<color name="dream_overlay_aqi_good">#689F38</color>
|
|
||||||
<color name="dream_overlay_aqi_moderate">#FBC02D</color>
|
|
||||||
<color name="dream_overlay_aqi_unhealthy_sensitive">#F57C00</color>
|
|
||||||
<color name="dream_overlay_aqi_unhealthy">#C53929</color>
|
|
||||||
<color name="dream_overlay_aqi_very_unhealthy">#AD1457</color>
|
|
||||||
<color name="dream_overlay_aqi_hazardous">#880E4F</color>
|
|
||||||
<color name="dream_overlay_aqi_unknown">#BDC1C6</color>
|
|
||||||
|
|
||||||
<!-- Dream overlay text shadows -->
|
<!-- Dream overlay text shadows -->
|
||||||
<color name="dream_overlay_clock_key_text_shadow_color">#4D000000</color>
|
<color name="dream_overlay_clock_key_text_shadow_color">#4D000000</color>
|
||||||
<color name="dream_overlay_clock_ambient_text_shadow_color">#4D000000</color>
|
<color name="dream_overlay_clock_ambient_text_shadow_color">#4D000000</color>
|
||||||
|
|||||||
@@ -1560,10 +1560,6 @@
|
|||||||
<dimen name="dream_overlay_y_offset">80dp</dimen>
|
<dimen name="dream_overlay_y_offset">80dp</dimen>
|
||||||
<dimen name="dream_overlay_exit_y_offset">40dp</dimen>
|
<dimen name="dream_overlay_exit_y_offset">40dp</dimen>
|
||||||
|
|
||||||
<dimen name="dream_aqi_badge_corner_radius">28dp</dimen>
|
|
||||||
<dimen name="dream_aqi_badge_padding_vertical">6dp</dimen>
|
|
||||||
<dimen name="dream_aqi_badge_padding_horizontal">16dp</dimen>
|
|
||||||
|
|
||||||
<dimen name="status_view_margin_horizontal">0dp</dimen>
|
<dimen name="status_view_margin_horizontal">0dp</dimen>
|
||||||
|
|
||||||
<!-- Media output broadcast dialog QR code picture size -->
|
<!-- Media output broadcast dialog QR code picture size -->
|
||||||
|
|||||||
@@ -2688,9 +2688,6 @@
|
|||||||
<!-- [CHAR LIMIT=NONE] Le audio broadcast dialog, media app is unknown -->
|
<!-- [CHAR LIMIT=NONE] Le audio broadcast dialog, media app is unknown -->
|
||||||
<string name="bt_le_audio_broadcast_dialog_unknown_name">Unknown</string>
|
<string name="bt_le_audio_broadcast_dialog_unknown_name">Unknown</string>
|
||||||
|
|
||||||
<!-- Date format for the Dream Date Complication [CHAR LIMIT=NONE] -->
|
|
||||||
<string name="dream_date_complication_date_format">EEE, MMM d</string>
|
|
||||||
|
|
||||||
<!-- Time format for the Dream Time Complication for 12-hour time format [CHAR LIMIT=NONE] -->
|
<!-- Time format for the Dream Time Complication for 12-hour time format [CHAR LIMIT=NONE] -->
|
||||||
<string name="dream_time_complication_12_hr_time_format">h:mm</string>
|
<string name="dream_time_complication_12_hr_time_format">h:mm</string>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user