public class FileImportActivity
extends AppCompatActivity
On the File Import Screen users can get information about how import files from other apps via "open with".
This Activity is launched by the HelpActivity
for both Screen and Component APIs.
Important: The File Import Screen is only shown only if file import was enabled with the GiniVisionFeatureConfiguration
.
The contents of this screen need to be customized to insert your App's name or label for the "open with" functionality into the texts and illustrations.
Customizing the look of the File Import Screen is done via overriding of app resources.
The following items are customizable:
gv_file_import_activity_background
.
gv_file_import_header
GiniVisionTheme.Help.FileImport.Header.TextStyle
gv_file_import_separator
gv_file_import_section_number_background
gv_file_import_section_number
GiniVisionTheme.Help.FileImport.Section.Title.TextStyle
GiniVisionTheme.Help.FileImport.Section.Body.TextStyle
gv_file_import_section_1_title
gv_file_import_section_1_body
gv_file_import_section_1_illustration.png
. For creating your custom illustration you may use this template from the Gini Vision Library UI Assets repository.
gv_file_import_section_2_title
gv_file_import_section_2_body
gv_file_import_section_2_illustration.png
. For creating your custom illustration you may use this template from the Gini Vision Library UI Assets repository.
gv_file_import_section_3_title
gv_file_import_section_3_body
gv_file_import_section_3_illustration.png
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_file_import
gv_action_bar_title
gv_action_bar_back
Constructor and Description |
---|
FileImportActivity() |
Modifier and Type | Method and Description |
---|---|
boolean |
onOptionsItemSelected(MenuItem item) |