SettingsTransitionActivity is an abstract activity being in charge of the transition feature. Activities extending it will get settings transition applied. We make CollapsingToolbarBaseActivity extend this activity. Clients extending CollapsingToolbarBaseActivity will have both app bar behaviour and the transition applied. Also add android:transitionName into the collapsing layout, so the transition would start from the back arrow on the action bar. And bump the min_sdk to 29 to relevant dependencies. Bug: 177480673 Test: rebuild and apply it on NotificationHistoryActivity Change-Id: I8e070a0f07080d027fec7b944bdcdbb758ae44b7
24 lines
836 B
XML
24 lines
836 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2021 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.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.settingslib.collapsingtoolbar">
|
|
|
|
<uses-sdk android:minSdkVersion="29" />
|
|
|
|
</manifest>
|