File Import Activity
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 File Import ScreenCustomizing the look of the File Import Screen is done via overriding of app resources.
The following items are customizable:
- Background color: via the color resource named
gv_file_import_activity_background
. - Header text: via overriding the string resource named
gv_file_import_header
- Header text style: via overriding the style named
GiniVisionTheme.Help.FileImport.Header.TextStyle
- Separator line color: via the color resource named
gv_file_import_separator
- Section numbers' background circle color: via the color resource named
gv_file_import_section_number_background
- Section numbers' text color: via the color resource named
gv_file_import_section_number
- Section title text style: via overriding the style named
GiniVisionTheme.Help.FileImport.Section.Title.TextStyle
- Section body text style: via overriding the style named
GiniVisionTheme.Help.FileImport.Section.Body.TextStyle
- Section 1 title: via overriding the string resource named
gv_file_import_section_1_title
- Section 1 body: via overriding the string resource named
gv_file_import_section_1_body
- Section 1 illustration image: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named
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. - Section 2 title: via overriding the string resource named
gv_file_import_section_2_title
- Section 2 body: via overriding the string resource named
gv_file_import_section_2_body
- Section 2 illustration image: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named
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. - Section 3 title: via overriding the string resource named
gv_file_import_section_3_title
- Section 3 body: via overriding the string resource named
gv_file_import_section_3_body
- Section 3 illustration image: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named
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, , HelpActivity, ReviewActivity, AnalysisActivity).
The following items are customizable:
- Background color: via the color resource named
gv_action_bar
(highly recommended for Android 5+: customize the status bar color viagv_status_bar
) - Title: via the string resource name
gv_title_file_import
- Title color: via the color resource named
gv_action_bar_title
- Back button: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named
gv_action_bar_back