Messaging: Remove compatibility for old android versions
Change-Id: Id9065d60525a509271a0e64c0e349e857cb998e2
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?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.
|
||||
@@ -128,13 +129,13 @@
|
||||
|
||||
<color name="contact_picker_hint_text_color">#40000000</color>
|
||||
|
||||
<color name="notification_sender_text">#9A9A9A</color>
|
||||
<color name="notification_secondary_text">#FFFFFF</color>
|
||||
<color name="notification_tertiary_text">#FFFFFF</color>
|
||||
<color name="notification_sender_text">#DE000000</color>
|
||||
<color name="notification_secondary_text">#8A000000</color>
|
||||
<color name="notification_tertiary_text">#8A000000</color>
|
||||
<color name="wearable_notification_participants_count">#a2a2a2</color>
|
||||
<color name="notification_accent_color">@color/primary_color</color>
|
||||
<color name="notification_warning_color">#ff0000</color>
|
||||
<color name="notification_subject_color">#99aaaaaa</color>
|
||||
<color name="notification_subject_color">#DE000000</color>
|
||||
|
||||
<color name="participant_list_text_primary">#4d4d4d</color>
|
||||
<color name="people_and_options_header_text">#6d6d6d</color>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?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.
|
||||
@@ -112,12 +113,12 @@
|
||||
<dimen name="image_attachment_fallback_width">240dp</dimen>
|
||||
<dimen name="image_attachment_fallback_height">240dp</dimen>
|
||||
|
||||
<dimen name="fab_size">60dp</dimen>
|
||||
<dimen name="fab_padding_bottom">4dp</dimen>
|
||||
<dimen name="fab_size">56dp</dimen>
|
||||
<dimen name="fab_padding_bottom">0dp</dimen>
|
||||
<dimen name="fab_elevation">2dp</dimen>
|
||||
<dimen name="fab_elevation_pressed">6dp</dimen>
|
||||
<dimen name="fab_bottom_margin">12dp</dimen>
|
||||
<dimen name="fab_left_right_margin">14dp</dimen>
|
||||
<dimen name="fab_bottom_margin">16dp</dimen>
|
||||
<dimen name="fab_left_right_margin">16dp</dimen>
|
||||
<dimen name="message_body_size_text_size">12sp</dimen>
|
||||
|
||||
<dimen name="vcard_detail_group_indicator_width">40dp</dimen>
|
||||
|
||||
+37
-36
@@ -17,18 +17,14 @@
|
||||
-->
|
||||
<resources>
|
||||
<!--
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by BugleBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
Base application theme
|
||||
-->
|
||||
<style name="BugleBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
-->
|
||||
<item name="android:forceDarkAllowed">true</item>
|
||||
<item name="android:navigationBarColor">@color/navigation_bar_bg</item>
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
</style>
|
||||
|
||||
|
||||
<!-- Application theme. -->
|
||||
<style name="BugleTheme" parent="BugleBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
@@ -49,6 +45,7 @@
|
||||
|
||||
<style name="BugleTheme.ConversationActivity"
|
||||
parent="@style/BugleTheme.ConversationActivityBase">
|
||||
<item name="android:colorEdgeEffect">@color/conversation_edge_effect</item>
|
||||
</style>
|
||||
|
||||
<style name="BugleTheme.ConversationActivityBase" parent="BugleTheme">
|
||||
@@ -59,7 +56,10 @@
|
||||
<item name="android:fastScrollPreviewBackgroundRight">@drawable/contacts_fastscroll_label_right</item>
|
||||
</style>
|
||||
|
||||
<style name="BugleTheme.DialogActivity" parent="@style/Theme.AppCompat.Light.Dialog">
|
||||
<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="BugleTheme.ConversationListActivity" parent="BugleTheme">
|
||||
@@ -107,7 +107,7 @@
|
||||
</style>
|
||||
|
||||
<style name="ConversationActionBarTitleTextStyle" parent="BugleActionBarTitleTextStyle">
|
||||
<item name="android:background">?android:attr/selectableItemBackground</item>
|
||||
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
|
||||
</style>
|
||||
|
||||
<style name="BuglePhotoViewTheme" parent="PhotoViewTheme.Translucent">
|
||||
@@ -173,12 +173,12 @@
|
||||
<item name="android:background">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="ContactListItemDetailType" parent="ContactListItemDetail">
|
||||
<item name="android:paddingLeft">12dp</item>
|
||||
<style name="ContactListItemDetailType">
|
||||
<item name="android:paddingStart">12dp</item>
|
||||
</style>
|
||||
|
||||
<style name="ContactListItemDrawableIndicator">
|
||||
<item name="android:background">?android:attr/selectableItemBackground</item>
|
||||
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
|
||||
</style>
|
||||
|
||||
<style name="RecipientEditTextView">
|
||||
@@ -224,8 +224,8 @@
|
||||
</style>
|
||||
|
||||
<style name="AudioAttachmentViewStyle">
|
||||
<item name="android:paddingRight">16dp</item>
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
<item name="android:paddingEnd">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="ContactPickerHintText">
|
||||
@@ -234,13 +234,13 @@
|
||||
</style>
|
||||
|
||||
<style name="VcardAttachmentSingleStyle">
|
||||
<item name="android:paddingRight">@dimen/message_text_left_right_padding</item>
|
||||
<item name="android:paddingLeft">@dimen/message_text_left_right_padding</item>
|
||||
<item name="android:paddingStart">@dimen/message_text_left_right_padding</item>
|
||||
<item name="android:paddingEnd">@dimen/message_text_left_right_padding</item>
|
||||
</style>
|
||||
|
||||
<style name="MessageVcardAttachmentStyle">
|
||||
<item name="android:paddingRight">@dimen/message_text_left_right_padding</item>
|
||||
<item name="android:paddingLeft">@dimen/message_text_left_right_padding</item>
|
||||
<item name="android:paddingStart">@dimen/message_text_left_right_padding</item>
|
||||
<item name="android:paddingEnd">@dimen/message_text_left_right_padding</item>
|
||||
</style>
|
||||
|
||||
<style name="NotificationSenderText">
|
||||
@@ -265,7 +265,7 @@
|
||||
</style>
|
||||
|
||||
<style name="CameraChooserFrameStyle">
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="ComposeMessageViewAttachMediaButtonStyle">
|
||||
@@ -309,7 +309,7 @@
|
||||
</style>
|
||||
|
||||
<style name="GalleryGridItemViewCheckBoxStyle">
|
||||
<item name="android:paddingRight">22dp</item>
|
||||
<item name="android:paddingEnd">4dp</item>
|
||||
</style>
|
||||
|
||||
<style name="AttachmentPreviewAttachmentStyle">
|
||||
@@ -342,23 +342,23 @@
|
||||
<item name="android:layout_gravity">left|center_vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="AddContactConfirmationTextStyle" parent="ParticipantListItem">
|
||||
<item name="android:paddingLeft">12dp</item>
|
||||
<item name="android:paddingRight">24dp</item>
|
||||
<style name="AddContactConfirmationTextStyle">
|
||||
<item name="android:paddingStart">12dp</item>
|
||||
<item name="android:paddingEnd">24dp</item>
|
||||
</style>
|
||||
|
||||
<style name="CopyContactDialogTextStyle" parent="ParticipantListItem">
|
||||
<item name="android:paddingLeft">@dimen/copy_contact_dialog_left_padding</item>
|
||||
<item name="android:paddingRight">@dimen/copy_contact_dialog_right_padding</item>
|
||||
<style name="CopyContactDialogTextStyle">
|
||||
<item name="android:paddingStart">@dimen/copy_contact_dialog_left_padding</item>
|
||||
<item name="android:paddingEnd">@dimen/copy_contact_dialog_right_padding</item>
|
||||
</style>
|
||||
|
||||
<style name="PeopleListItemViewStyle">
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="PeopleAndOptionsItemStyle">
|
||||
<item name="android:paddingRight">16dp</item>
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
<item name="android:paddingEnd">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="PeopleAndOptionsSectionHeader">
|
||||
@@ -477,8 +477,8 @@
|
||||
</style>
|
||||
|
||||
<style name="ApnPreferenceLayoutStyle">
|
||||
<item name="android:paddingLeft">?android:attr/listPreferredItemPaddingStart</item>
|
||||
<item name="android:paddingRight">?android:attr/listPreferredItemPaddingEnd</item>
|
||||
<item name="android:paddingStart">?android:attr/listPreferredItemPaddingStart</item>
|
||||
<item name="android:paddingEnd">?android:attr/listPreferredItemPaddingEnd</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsListItem">
|
||||
@@ -505,8 +505,8 @@
|
||||
</style>
|
||||
|
||||
<style name="DebugMmsConfigItemStyle">
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
<item name="android:paddingRight">16dp</item>
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
<item name="android:paddingEnd">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="WidgetTitle" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
|
||||
@@ -612,11 +612,12 @@
|
||||
</style>
|
||||
|
||||
<style name="WidgetConversationListItemStyle">
|
||||
<item name="android:layout_height">80dp</item>
|
||||
<item name="android:background">@drawable/widget_item_background</item>
|
||||
<item name="android:layout_height">72dp</item>
|
||||
</style>
|
||||
|
||||
<style name="AttachmentGridItemViewCheckBoxStyle">
|
||||
<item name="android:paddingRight">4dp</item>
|
||||
<item name="android:paddingEnd">4dp</item>
|
||||
</style>
|
||||
|
||||
<style name="PromoScreenTextStyle">
|
||||
|
||||
Reference in New Issue
Block a user