Files
packages_apps_Messaging/res/values-v21/styles.xml
Michael W 6a10100821 Messaging: Properly style dialogs
Forwarding messages
Before: Dialog is white and rectangular
After: Dialog is rounded and dark theme has dark background

Settings->Advanced->My phone number
Before: Dialog is white and rectangular
After: Dialog is rounded and dark theme has dark background

Change-Id: I719b15cbe062899b4f5eaccd599eaf45e89dfd3d
2024-12-26 14:55:12 +01:00

44 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2024 The LineageOS 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.
-->
<resources>
<style name="BugleTheme.ConversationActivity"
parent="@style/BugleTheme.ConversationActivityBase">
<item name="android:colorEdgeEffect">@color/conversation_edge_effect</item>
</style>
<style name="BugleTheme.DialogActivity" parent="@style/Theme.AppCompat.DayNight.Dialog">
<item name="android:windowNoTitle">false</item>
<item name="android:background">@color/window_background</item>
<item name="android:dialogCornerRadius">28dp</item>
</style>
<style name="ContactListItemDrawableIndicator">
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
</style>
<style name="ConversationActionBarTitleTextStyle" parent="BugleActionBarTitleTextStyle">
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
</style>
<style name="WidgetConversationListItemStyle">
<item name="android:background">@drawable/widget_item_background</item>
<item name="android:layout_height">72dp</item>
</style>
</resources>