A simple view, that is used as a Title/Action Bar, with icons and adjustable title.
Features:
View: xq_titlebar
Author: xqtr
Version: 1.00
Depends: XUI
Releases
Screenshots
Features:
- Up to 5 icons on the right side
- Left/Burger icon (visible or not)
- Change background and text color
- Each element (burger, title, icons) has each own click event
- Title label adjusts its width, depending the icons visible
- Can adjust icon spacing/padding
- All default sizes are compatible with the Material Design
View: xq_titlebar
Author: xqtr
Version: 1.00
Depends: XUI
- Fields
- Background As Int
- ShowBurgerIcon As Boolean
- IconSpacing As Int
- IconPadding As Int
- IconSize As Int
- IconCount As Int
- Icons(5) As B4XView*
- TitleLabel As B4XView*
- BurgerIcon As B4XView*
- ShowBurgerIcon As Boolean
- Events
- IconClick(Index As Int)
- TitleClick
- BurgerClick
- Functions
- Refresh 'Applies changes like color/size
- Redraw 'Complete redraw of view, used when changing icon count
- Clear 'Resets the view
- AddIcon 'Adds an icon in the right size
Releases
- v1.00// 2024-03-28
- Initial Release
Screenshots