Product: Android
Product Version: Latest
Please give a brief summary of your issue:
How to change background color for annotation tool bar and bottom tool bar ?
Product: Android
Product Version: Latest
Please give a brief summary of your issue:
How to change background color for annotation tool bar and bottom tool bar ?
We have a guide on how to customize each component in our viewer here:
The two you mentioned in the screenshot are:
Example:
Additionally, for your reference, we have a sample project on how to customize custom styles on the viewer:
@ama1 thank you, it worked for me.
btw, I used pt_toolbar_style and pt_toolbar_theme for change color of icon and text title (icon back, prepare form, menu action icon) in header but it not work, how can i change that ?
For the nav arrow you can use this to change the tintColor
<style name="CustomToolbarButtonNavigationStyle" parent="Widget.AppCompat.Toolbar.Button.Navigation">
<item name="android:tint">@color/red</item>
</style>
For the overflow button:
<style name="SampleActionOverflowButtonStyle" parent="Widget.AppCompat.ActionButton.Overflow">
<item name="android:tint">@color/red</item>
</style>
For the dropdown you can change: PTToolbarSwitcherButtonTheme
<style name="SampleToolbarSwitcherButtonTheme" parent="PTToolbarSwitcherButtonTheme">
<item name="textColor">@color/red</item>
<item name="iconColor">@color/red</item>
</style>
–
Result:
You can reference these values from the link mentioned before:
@ama1 thanks a lot, it worked for me