Messaging: Remove compatibility for old android versions
Change-Id: Id9065d60525a509271a0e64c0e349e857cb998e2
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB |
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/contact_picker_tab_pressed" />
|
||||
@@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/fab_ripple" >
|
||||
|
||||
<item>
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="@color/fab_color" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</ripple>
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/gallery_image_pressed">
|
||||
<item android:id="@android:id/mask"
|
||||
android:drawable="@android:color/white" />
|
||||
</ripple>
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/background_item_pressed" />
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/background_item_pressed" />
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB |
@@ -14,8 +14,5 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@color/contact_picker_tab_pressed" />
|
||||
</selector>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/contact_picker_tab_pressed" />
|
||||
@@ -14,32 +14,13 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<layer-list
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/fab_ripple" >
|
||||
|
||||
<item>
|
||||
<bitmap
|
||||
android:src="@drawable/fab_new_message_static_shadow" />
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="@color/fab_color" />
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:bottom="@dimen/fab_padding_bottom">
|
||||
<selector>
|
||||
<item
|
||||
android:state_pressed="true">
|
||||
<shape
|
||||
android:shape="oval" >
|
||||
<solid
|
||||
android:color="@color/fab_pressed_color" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape
|
||||
android:shape="oval" >
|
||||
<solid
|
||||
android:color="@color/fab_color" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
</item>
|
||||
</layer-list>
|
||||
|
||||
</ripple>
|
||||
@@ -14,10 +14,8 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@color/gallery_image_pressed" />
|
||||
<item
|
||||
android:drawable="@android:color/transparent" />
|
||||
</selector>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/gallery_image_pressed">
|
||||
<item android:id="@android:id/mask"
|
||||
android:drawable="@android:color/white" />
|
||||
</ripple>
|
||||
|
||||
@@ -14,13 +14,5 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@color/background_item_pressed" />
|
||||
<item
|
||||
android:state_activated="true"
|
||||
android:drawable="@color/background_item_activated" />
|
||||
<item
|
||||
android:drawable="@color/background_item_transparent" />
|
||||
</selector>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/background_item_pressed" />
|
||||
|
||||
@@ -14,13 +14,5 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@color/background_item_pressed" />
|
||||
<item
|
||||
android:state_activated="true"
|
||||
android:drawable="@color/background_item_activated" />
|
||||
<item
|
||||
android:drawable="@color/background_item_transparent" />
|
||||
</selector>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/background_item_pressed" />
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<resources>
|
||||
<style name="ComposeMessageViewAttachMediaButtonStyle">
|
||||
<item name="android:paddingStart">@dimen/compose_message_attachment_padding_sides</item>
|
||||
<item name="android:paddingEnd">@dimen/compose_message_attachment_padding_sides</item>
|
||||
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -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.
|
||||
@@ -22,7 +23,7 @@
|
||||
<style name="ComposeMessageViewAttachMediaButtonStyle">
|
||||
<item name="android:paddingStart">@dimen/compose_message_attachment_padding_sides</item>
|
||||
<item name="android:paddingEnd">@dimen/compose_message_attachment_padding_sides</item>
|
||||
<item name="android:background">?android:attr/selectableItemBackground</item>
|
||||
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
|
||||
</style>
|
||||
|
||||
<style name="ConversationComposeSendText">
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<resources>
|
||||
<style name="GalleryGridItemViewCheckBoxStyle">
|
||||
<item name="android:paddingEnd">4dp</item>
|
||||
</style>
|
||||
|
||||
<style name="AttachmentGridItemViewCheckBoxStyle">
|
||||
<item name="android:paddingEnd">4dp</item>
|
||||
</style>
|
||||
|
||||
<style name="PeopleAndOptionsItemStyle">
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
<item name="android:paddingEnd">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="AudioAttachmentViewStyle">
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
<item name="android:paddingEnd">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="VcardAttachmentSingleStyle">
|
||||
<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="PeopleListItemViewStyle">
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="MessageVcardAttachmentStyle">
|
||||
<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="CameraChooserFrameStyle">
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="AddContactConfirmationTextStyle">
|
||||
<item name="android:paddingStart">12dp</item>
|
||||
<item name="android:paddingEnd">24dp</item>
|
||||
</style>
|
||||
|
||||
<style name="ContactListItemDetailType">
|
||||
<item name="android:paddingStart">12dp</item>
|
||||
</style>
|
||||
|
||||
<style name="DebugMmsConfigItemStyle">
|
||||
<item name="android:paddingStart">16dp</item>
|
||||
<item name="android:paddingEnd">16dp</item>
|
||||
</style>
|
||||
|
||||
<style name="ApnPreferenceLayoutStyle">
|
||||
<item name="android:paddingStart">?android:attr/listPreferredItemPaddingStart</item>
|
||||
<item name="android:paddingEnd">?android:attr/listPreferredItemPaddingEnd</item>
|
||||
</style>
|
||||
|
||||
<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>
|
||||
</resources>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<resources>
|
||||
<color name="notification_sender_text">#DE000000</color>
|
||||
<color name="notification_secondary_text">#8A000000</color>
|
||||
<color name="notification_tertiary_text">#8A000000</color>
|
||||
<color name="notification_subject_color">#DE000000</color>
|
||||
</resources>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<resources>
|
||||
<dimen name="fab_bottom_margin">16dp</dimen>
|
||||
<dimen name="fab_left_right_margin">16dp</dimen>
|
||||
<dimen name="fab_size">56dp</dimen>
|
||||
<dimen name="fab_padding_bottom">0dp</dimen>
|
||||
</resources>
|
||||
@@ -1,43 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 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="BugleBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<item name="android:forceDarkAllowed">true</item>
|
||||
<item name="android:navigationBarColor">@color/navigation_bar_bg</item>
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -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">
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<!-- Preference screen definition for Bugle's application-wide settings -->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- KLP+ only -->
|
||||
<PreferenceScreen
|
||||
android:key="@string/sms_disabled_pref_key"
|
||||
android:title="@string/sms_disabled_pref_title"
|
||||
android:persistent="false">
|
||||
<intent
|
||||
android:action="android.provider.Telephony.ACTION_CHANGE_DEFAULT">
|
||||
<extra android:name="package" android:value="com.android.messaging" />
|
||||
</intent>
|
||||
</PreferenceScreen>
|
||||
<PreferenceScreen
|
||||
android:key="@string/sms_enabled_pref_key"
|
||||
android:title="@string/sms_enabled_pref_title"
|
||||
android:persistent="false">
|
||||
<intent
|
||||
android:action="android.settings.WIRELESS_SETTINGS">
|
||||
</intent>
|
||||
</PreferenceScreen>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/send_sound_pref_key"
|
||||
android:title="@string/send_sound_pref_title"
|
||||
android:defaultValue="@bool/send_sound_pref_default"
|
||||
android:persistent="true" />
|
||||
|
||||
<Preference
|
||||
android:key="@string/notifications_pref_key"
|
||||
android:title="@string/notifications_pref_title"
|
||||
android:persistent="true" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/swipe_right_deletes_conversation_key"
|
||||
android:title="@string/swipe_to_delete_conversation_pref_title"
|
||||
android:summary="@string/swipe_to_delete_conversation_pref_summary"
|
||||
android:defaultValue="false"
|
||||
android:persistent="true" />
|
||||
|
||||
<PreferenceScreen
|
||||
android:key="@string/advanced_pref_key"
|
||||
android:title="@string/advanced_settings" />
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/debug_pref_key"
|
||||
android:title="@string/debug_category_pref_title">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/dump_sms_pref_key"
|
||||
android:title="@string/dump_sms_pref_title"
|
||||
android:summary="@string/dump_sms_pref_summary"
|
||||
android:defaultValue="@bool/dump_sms_pref_default" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/dump_mms_pref_key"
|
||||
android:title="@string/dump_mms_pref_title"
|
||||
android:summary="@string/dump_mms_pref_summary"
|
||||
android:defaultValue="@bool/dump_mms_pref_default" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -1,63 +0,0 @@
|
||||
<?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.
|
||||
-->
|
||||
<!-- Preference screen definition for Bugle's subscription-specific settings -->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/mms_messaging_category_pref_key"
|
||||
android:title="@string/mms_messaging_category_pref_title">
|
||||
|
||||
<Preference
|
||||
android:title="@string/group_mms_pref_title"
|
||||
android:key="@string/group_mms_pref_key"/>
|
||||
|
||||
<com.android.messaging.ui.appsettings.PhoneNumberPreference
|
||||
android:key="@string/mms_phone_number_pref_key"
|
||||
android:title="@string/mms_phone_number_pref_title" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/auto_retrieve_mms_pref_key"
|
||||
android:title="@string/auto_retrieve_mms_pref_title"
|
||||
android:summary="@string/auto_retrieve_mms_pref_summary"
|
||||
android:defaultValue="@bool/auto_retrieve_mms_pref_default" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/auto_retrieve_mms_when_roaming_pref_key"
|
||||
android:dependency="@string/auto_retrieve_mms_pref_key"
|
||||
android:title="@string/auto_retrieve_mms_when_roaming_pref_title"
|
||||
android:summary="@string/auto_retrieve_mms_when_roaming_pref_summary"
|
||||
android:defaultValue="@bool/auto_retrieve_mms_when_roaming_pref_default" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/advanced_category_pref_key"
|
||||
android:title="@string/advanced_category_pref_title">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/delivery_reports_pref_key"
|
||||
android:title="@string/delivery_reports_pref_title"
|
||||
android:summary="@string/delivery_reports_pref_summary"
|
||||
android:defaultValue="@bool/delivery_reports_pref_default" />
|
||||
|
||||
<PreferenceScreen
|
||||
android:key="@string/sms_apns_key"
|
||||
android:title="@string/sms_apns_title" />
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
@@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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.
|
||||
-->
|
||||
<!-- Preference screen definition for Bugle's application-wide settings -->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- KLP+ only -->
|
||||
<PreferenceScreen
|
||||
android:key="@string/sms_disabled_pref_key"
|
||||
android:title="@string/sms_disabled_pref_title"
|
||||
android:persistent="false">
|
||||
<intent
|
||||
android:action="android.provider.Telephony.ACTION_CHANGE_DEFAULT">
|
||||
<extra android:name="package" android:value="com.android.messaging" />
|
||||
</intent>
|
||||
</PreferenceScreen>
|
||||
<!-- MNC+ only -->
|
||||
<PreferenceScreen
|
||||
android:key="@string/sms_enabled_pref_key"
|
||||
android:title="@string/sms_enabled_pref_title"
|
||||
android:persistent="false">
|
||||
<intent
|
||||
android:action="android.provider.Telephony.ACTION_CHANGE_DEFAULT">
|
||||
</intent>
|
||||
</PreferenceScreen>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/send_sound_pref_key"
|
||||
android:title="@string/send_sound_pref_title"
|
||||
android:defaultValue="@bool/send_sound_pref_default"
|
||||
android:persistent="true" />
|
||||
|
||||
<Preference
|
||||
android:key="@string/notifications_pref_key"
|
||||
android:title="@string/notifications_pref_title"
|
||||
android:persistent="true" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/swipe_right_deletes_conversation_key"
|
||||
android:title="@string/swipe_to_delete_conversation_pref_title"
|
||||
android:summary="@string/swipe_to_delete_conversation_pref_summary"
|
||||
android:defaultValue="false"
|
||||
android:persistent="true" />
|
||||
|
||||
<PreferenceScreen
|
||||
android:key="@string/advanced_pref_key"
|
||||
android:title="@string/advanced_settings" />
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/debug_pref_key"
|
||||
android:title="@string/debug_category_pref_title">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/dump_sms_pref_key"
|
||||
android:title="@string/dump_sms_pref_title"
|
||||
android:summary="@string/dump_sms_pref_summary"
|
||||
android:defaultValue="@bool/dump_sms_pref_default" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="@string/dump_mms_pref_key"
|
||||
android:title="@string/dump_mms_pref_title"
|
||||
android:summary="@string/dump_mms_pref_summary"
|
||||
android:defaultValue="@bool/dump_mms_pref_default" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -32,7 +32,7 @@
|
||||
android:title="@string/sms_enabled_pref_title"
|
||||
android:persistent="false">
|
||||
<intent
|
||||
android:action="android.settings.WIRELESS_SETTINGS">
|
||||
android:action="android.provider.Telephony.ACTION_CHANGE_DEFAULT">
|
||||
</intent>
|
||||
</PreferenceScreen>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user