Skip to content

Commit

Permalink
activity embedding support
Browse files Browse the repository at this point in the history
  • Loading branch information
kidozh committed Dec 16, 2021
1 parent 879e2a9 commit d726732
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions app/src/main/res/xml/main_split_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,32 @@
window:primaryActivityName="com.kidozh.discuzhub.activities.ThreadActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.PublishActivity"/>

<SplitPairFilter
window:primaryActivityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.ForumActivity"/>
<SplitPairFilter
window:primaryActivityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.ThreadActivity"/>
<SplitPairFilter
window:primaryActivityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.ShortcutActivity"/>
<SplitPairFilter
window:primaryActivityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.SearchPostsActivity"/>
<SplitPairFilter
window:primaryActivityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.LoginActivity"/>
<SplitPairFilter
window:primaryActivityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.ManageUserActivity"/>
<SplitPairFilter
window:primaryActivityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.ManageBBSActivity"/>
<SplitPairFilter
window:primaryActivityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"
window:secondaryActivityName="com.kidozh.discuzhub.activities.SettingsActivity"/>


<SplitPairFilter
window:primaryActivityName="*"
window:secondaryActivityName="*/*"
Expand All @@ -52,6 +78,8 @@
<!-- window:splitMinWidth="600dp">-->
<!-- <ActivityFilter-->
<!-- window:activityName="com.kidozh.discuzhub.activities.DrawerActivity"/>-->
<!-- <ActivityFilter-->
<!-- window:activityName="com.kidozh.discuzhub.activities.SingleDiscuzActivity"/>-->
<!-- </SplitPlaceholderRule>-->

</resources>

0 comments on commit d726732

Please sign in to comment.