By moving loading in each controller to the same thread. There will still be shifting as the conversation prefs are added, but it won't be the over thte top shift up and shift down motion that existed prior to this cl. Test: manual Fixes: 188734400 Change-Id: I202981b603b8f9308b2b352a0939182910869cd6
64 lines
2.4 KiB
XML
64 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2020 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.
|
|
-->
|
|
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
android:key="conversation_list"
|
|
android:title="@string/zen_mode_conversations_title">
|
|
|
|
<com.android.settingslib.widget.LayoutPreference
|
|
android:key="no_conversations"
|
|
android:layout="@layout/conversation_onboarding"
|
|
android:selectable="false"
|
|
settings:isPreferenceVisible="false"/>
|
|
|
|
<PreferenceCategory
|
|
android:key="important_conversations"
|
|
android:title="@string/important_conversations"
|
|
settings:isPreferenceVisible="false"
|
|
settings:allowDividerAbove="false"
|
|
settings:allowDividerBelow="true" >
|
|
<Preference
|
|
android:key="behavior"
|
|
android:selectable="false"
|
|
android:summary="@string/important_conversation_behavior_summary"/>
|
|
<!-- Important conversations added here -->
|
|
<PreferenceCategory
|
|
android:key="important_conversations_list"
|
|
settings:allowDividerAbove="false"
|
|
settings:allowDividerBelow="false" >
|
|
</PreferenceCategory>
|
|
</PreferenceCategory>
|
|
|
|
<!-- Non-priority modified conversations added here -->
|
|
<PreferenceCategory
|
|
android:title="@string/other_conversations"
|
|
android:key="other_conversations"
|
|
settings:isPreferenceVisible="false"
|
|
settings:allowDividerAbove="true"
|
|
settings:allowDividerBelow="false" />
|
|
|
|
<!-- Recent conversations added here -->
|
|
<PreferenceCategory
|
|
android:title="@string/recent_conversations"
|
|
android:key="recent_conversations"
|
|
settings:isPreferenceVisible="false"
|
|
settings:allowDividerAbove="true"
|
|
settings:allowDividerBelow="false" />
|
|
|
|
</PreferenceScreen>
|