Help Activity
Screen API and Component API
On the Help Screen users can get information about how to best use the Gini Vision Library.
This Activity can be used for both Screen and Component APIs.
For the Component API you need to pass in the following extra:
- EXTRA_IN_GINI_VISION_FEATURE_CONFIGURATION - Must contain a GiniVisionFeatureConfiguration instance
Customizing the look of the Help Screen is done via overriding of app resources.
The following items are customizable:
- Background color: via the color resource named
{@code gv_help_activity_background}
- Help list item background color: via the color resource name
{@code gv_help_item_background}
- Help list item text style: via overriding the style named
{@code * GiniVisionTheme.Help.Item.TextStyle}
- Help list item labels: via overriding the string resources found in the HelpItem enum
Important: All overriden styles must have their respective {@code Root.}
prefixed style as their parent. Ex.: the parent of {@code GiniVisionTheme.Onboarding.Message.TextStyle}
must be {@code Root.GiniVisionTheme.Onboarding.Message.TextStyle}
.
Customizing the Action Bar is done via overriding of app resources and each one - except the title string resource - is global to all Activities ( CameraActivity , , HelpActivity , ReviewActivity , AnalysisActivity ).
The following items are customizable:
- Background color: via the color resource named
{@code gv_action_bar}
(highly recommended for Android 5+: customize the status bar color via{@code gv_status_bar}
) - Title: via the string resource name
{@code gv_title_help}
- Title color: via the color resource named
{@code gv_action_bar_title}
- Back button: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named
{@code gv_action_bar_back}
Functions
Properties
Optional extra which must contain a GiniVisionFeatureConfiguration instance.