Navigation & Tabs
About 752 wordsAbout 3 min
2025-01-11
FolkPatch navigation and tab settings support customizing the bottom navigation bar Badge Count function, which can display the status and quantity of superuser requests, APM/KPM modules in real-time, helping to quickly master the situation of each function module. It can also be combined with other settings to customize the overall style of the navigation bar.
I. Core Setting Options
Badge function supports SuperUser, APM Module, KPM Module three major modules, all settings support independent switch.
1. SuperUser Badge
- Function: Display number of Active superuser permission requests
- Default Value: Show
- Recommended Setting: Show (Handle requests in time to improve system security)
- Badge Meaning: Number of apps with active superuser permissions
- Usage Scene: Quickly monitor permission status
2. APM Module Badge
- Function: Display total number of Installed APM modules
- Default Value: Show
- Recommended Setting: Show
- Badge Meaning: Number = Installed corresponding number of modules, No badge = No modules installed
- Counting Rule: Only counts Installed status, updates in real-time after modification
3. KPM Module Badge
- Function: Display total number of Loaded KPM kernel modules
- Default Value: Show
- Recommended Setting: Show
- Badge Meaning: Number = Loaded corresponding number of kernel modules, No badge = No modules loaded
- Counting Rule: Only counts Loaded status, updates in real-time after modification
II. Navigation Bar Layout Mode
FolkPatch navigation bar supports three layout modes, which can be freely switched according to device type and usage habits, allowing the application to provide the best experience under different screen sizes.
1. Auto Adaptation (Recommended)
- Function: Automatically select navigation bar layout according to screen width
- Trigger Condition: Use sidebar when screen width ≥ 600dp, otherwise use bottom navigation
- Default Value: Enabled
- Recommended Setting: Enabled (Adapt to all device scenes)
Applicable Scenes:
- Foldable devices: Show sidebar when unfolded, switch to bottom when folded
- Tablets: Automatically switch to sidebar in landscape mode, fully utilizing widescreen space
- Responsive experience: No manual adjustment needed, automatically adapt to optimal layout
Layout Features:
- Widescreen Mode (≥600dp):
- Navigation bar fixed on left side
- Icons arranged vertically
- Can display complete label text
- Narrow Screen Mode (<600dp):
- Navigation bar fixed at bottom
- Icons arranged horizontally
- Save vertical space
2. Always Bottom Navigation Bar
- Function: Navigation bar always fixed at bottom of screen
- Default Value: No
- Recommended Setting: Recommended for phone portrait users
Applicable Scenes:
- Phone portrait use
- Accustomed to traditional app layout
- Frequent one-handed operation
Layout Features:
- Navigation bar fixed at bottom, occupying about 80dp height
- 5 function tabs arranged horizontally
- Complies with Android Material Design specifications
- Suitable for thumb operation, improving mobile experience
3. Always Side Navigation Bar
- Function: Navigation bar always fixed at left side of screen
- Default Value: No
- Recommended Setting: Recommended for tablet/desktop users
Applicable Scenes:
- Tablet landscape use
- Desktop large screen devices
- Need to maximize content display area
Layout Features:
- Navigation bar fixed at left, width about 80dp
- 5 function tabs arranged vertically
- Content area gets more vertical space
- Suitable for large screen device reading and browsing
4. Mode Switching Method
Find "Navigation Scheme Settings" in external menu:
- Enter "Settings" → "Appearance"
- Find "Navigation Scheme Settings" option
- Click to pop up dialog, select one of three modes
- Takes effect immediately after selection, no restart required
5. Different Modes Comparison
| Mode | Suitable Device | Content Space | Operation Convenience | Responsive |
|---|---|---|---|---|
| Auto Adaptation | All Devices | Dynamic Optimal | Best | ✅ |
| Bottom Navigation | Phone Portrait | Standard | ⭐⭐⭐⭐ | ❌ |
| Side Navigation | Tablet/Desktop | Maximum | ⭐⭐⭐ | ❌ |
6. Recommended Configuration
Phone Users:
- Recommended: Auto Adaptation or Bottom Navigation
- Reason: More consistent with one-handed operation habits
Tablet Users:
- Recommended: Auto Adaptation or Side Navigation
- Reason: Fully utilize widescreen space
Foldable Screen Users:
- Recommended: Auto Adaptation
- Reason: Automatically adapt to unfolded/folded state
7. Notes
- After Switching Mode: App interface will refresh immediately, no restart needed
- Custom Theme: Theme color will be applied to all navigation bar styles simultaneously
- Badge Display: Navigation bar badges are supported in all modes
- Animation Effect: Smooth transition animation when switching different modes
III. Best Practices
1. General Recommendation
- Enable all badges to fully master app status; handle superuser requests in time when seeing superuser badge to avoid permission request accumulation
- Regularly pay attention to APM/KPM badge numbers, clean up useless modules in time, maintain reasonable number of modules
2. Badge Abnormality Troubleshooting
- Check if badge master switch and corresponding module switch are on
- Export app log to analyze specific issues
Tip: Badges are only Quick Status Overview. For detailed information of modules/requests, please enter corresponding page to view.
Copyright
Copyright Ownership:FolkPatch Team
License under:Attribution 4.0 International (CC-BY-4.0)
