UI components customisation
Nabla Android Scheduling UI components customisation
This part is only about Scheduling-specific theme attributes, make sure you followed the SDK theming guide for the theme setup.
Scheduling specific theme overlay
You can override Scheduling specific attributes by providing your own Nabla.ThemeOverlay.Scheduling
. Here's how it works:
<style name="Theme.Example.Blue" parent="Theme.Material3.Light.NoActionBar">
<!-- Rest of your theme -->
<item name="nablaSchedulingThemeOverlay">@style/NablaOverlay.Example.Scheduling</item>
</style>
<style name="NablaOverlay.Example.Scheduling" parent="Nabla.ThemeOverlay.Scheduling">
<!-- Customization goes here -->
</style>
Attributes list
Here are all the attributes you can customise:
Theme attribute | Description | Default value |
---|---|---|
nablaScheduling_appointmentListHeaderStyle | Style of the toolbar header in AppointmentsFragment . | ?toolbarSurfaceStyle |
Video call theming
You can override Video call specific attributes by providing your own Nabla.ThemeOverlay.VideoCall
. Here's how it works:
<style name="Theme.Example.Blue" parent="Theme.Material3.Light.NoActionBar">
<!-- Rest of your theme -->
<item name="nablaVideoCallThemeOverlay">@style/NablaOverlay.Example.VideoCall</item>
</style>
<style name="NablaOverlay.Example.VideoCall" parent="Nabla.ThemeOverlay.VideoCall">
<item name="nablaVideoCall_micIcon">@drawable/customMicIcon</item>
</style>
Attributes list
Here are all the attributes you can customise:
Theme attribute | Description | Default value |
---|---|---|
nablaVideoCall_micIcon | Drawable to be shown in the button to disable or enable the microphone during the call. | @drawable/nabla_video_call_ic_mic |
nablaVideoCall_cameraIcon | Drawable to be shown in the button to disable or enable camera during the call. | @drawable/nabla_video_call_ic_camera |
nablaVideoCall_flipIcon | Drawable to be shown in the button to flip cameras during the call. | @drawable/nabla_video_call_ic_flip_camera |
nablaVideoCall_hangupIcon | Drawable to be shown in the button to hang up the call. | @drawable/nabla_video_call_ic_hang_up |
Updated 7 months ago