public class HelpActivity
extends AppCompatActivity
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:
HelpActivity.EXTRA_IN_GINI_VISION_FEATURE_CONFIGURATION
- Must contain a GiniVisionFeatureConfiguration
instanceCustomizing the look of the Help Screen is done via overriding of app resources.
The following items are customizable:
gv_help_activity_background
gv_help_item_background
GiniVisionTheme.Help.Item.TextStyle
HelpItem
enum
Important: All overriden styles must have their respective Root.
prefixed style as their parent. Ex.: the parent of GiniVisionTheme.Onboarding.Message.TextStyle
must be 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
, NoResultsActivity
, HelpActivity
, ReviewActivity
, AnalysisActivity
).
The following items are customizable:
gv_action_bar
(highly recommended
for Android 5+: customize the status bar color via gv_status_bar
)
gv_title_help
gv_action_bar_title
gv_action_bar_back
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTRA_IN_GINI_VISION_FEATURE_CONFIGURATION
Deprecated.
Configuration should be applied by creating a
GiniVision instance using
GiniVision.newInstance() and the returned GiniVision.Builder . |
Constructor and Description |
---|
HelpActivity() |
Modifier and Type | Method and Description |
---|---|
boolean |
onOptionsItemSelected(MenuItem item) |
public static final java.lang.String EXTRA_IN_GINI_VISION_FEATURE_CONFIGURATION
GiniVision
instance using
GiniVision.newInstance()
and the returned GiniVision.Builder
.GiniVisionFeatureConfiguration
instance.