mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-17 01:28:21 +00:00
Following this guide: https://developer.android.com/guide/topics/large-screens/activity-embedding#extract_an_activity_from_a_split_to_full_window Bug: 204463748 Test: Open the settings app and open multiple settings, for now only the options inside of the launcher3 package work Flag: ACONFIG com.android.launcher3.Flags.enableTwoPaneLauncherSettings DEVELOPMENT Change-Id: Ie6a9eb3760171da92d94cf06376127b02afff8df
18 lines
785 B
XML
18 lines
785 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources
|
|
xmlns:window="http://schemas.android.com/apk/res-auto">
|
|
<!-- Automatically split the following activity pairs. -->
|
|
<SplitPairRule
|
|
window:splitRatio="@dimen/activity_split_ratio"
|
|
window:splitLayoutDirection="locale"
|
|
window:splitMinWidthDp="@integer/min_width_split"
|
|
window:splitMaxAspectRatioInPortrait="alwaysAllow"
|
|
window:finishPrimaryWithSecondary="never"
|
|
window:finishSecondaryWithPrimary="always"
|
|
window:clearTop="false">
|
|
<SplitPairFilter
|
|
window:primaryActivityName="com.android.launcher3.settings.SettingsActivity"
|
|
window:secondaryActivityName="com.android.launcher3.settings.SettingsActivity"/>
|
|
|
|
</SplitPairRule>
|
|
</resources> |