Overview of DslTabLayout features
masterDslTabLayout is a highly versatile, self-drawn TabLayout replacement that inherits from ViewGroup (not a composite control). It can be used as a horizontal or vertical LinearLayout without special requirements.
Key Features:
- Custom Views: Supports any type of
childview and any type ofDrawablefor indicators. - Layout Modes: Supports horizontal scrolling, smart item width splitting, and vertical layouts (since v2.0.0).
- Visual Effects:
- High-protrusion mode (allows a child to extend beyond the container).
- Highlight/irregular shape effects on selection (since v2.2.0).
- Indicator color sliding gradients (since v3.0.1).
- Indicator flash effects (since v3.1.0).
- Interaction: Supports sliding selection mode (smartly selects previous/next item) and badge configurations.
- Compatibility: Supports
ViewPager,ViewPager2, andRTL(since v3.0.0,minSdk >= 17).
SDK Requirements:
- Before v3.5.5:
compileSdk=33,minSdk >= 17 - v3.5.5 and later:
compileSdk=34,minSdk >= 21