Photo Tips Activity
Screen API and Component API
On the Photo Tips Screen users can get information about how to take better pictures.
This Activity is launched by the HelpActivity for both Screen and Component APIs.
Customizing the Photo Tips ScreenCustomizing the look of the Photo Tips Screen is done via overriding of app resources.
The following items are customizable:
- Background color: via the color resource named
{@code gc_photo_tips_activity_background}
. - Header text style: via overriding the style named
{@code GiniCaptureTheme.Help.PhotoTips.Header.TextStyle}
- Tip text style: via overriding the style named
{@code GiniCaptureTheme.Help.PhotoTips.Tip.TextStyle}
- Tip image - Good lighting: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named
{@code gc_photo_tip_lighting.png}
- Tip image - Document should be flat: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named
{@code gc_photo_tip_flat.png}
- Tip image - Device should be parallel to document: via images for mdpi, hdpi, xhdpi,xxhdpi, xxxhdpi named
{@code gc_photo_tip_parallel.png}
- Tip image - Document should be aligned with corner guides: via images for mdpi, hdpi, xhdpi,xxhdpi, xxxhdpi named
{@code gc_photo_tip_align.png}
- Button color: via the color resource named
{@code gc_photo_tips_button}
- Button text color: via the color resource named
{@code gc_photo_tips_button_text}
Important: All overriden styles must have their respective {@code Root.}
prefixed style as their parent. Ex.: the parent of {@code GiniCaptureTheme.Onboarding.Message.TextStyle}
must be {@code Root.GiniCaptureTheme.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 gc_action_bar}
(highly recommended for Android 5+: customize the status bar color via{@code gc_status_bar}
) - Title: via the string resource name
{@code gc_title_photo_tips}
- Title color: via the color resource named
{@code gc_action_bar_title}
- Back button: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named
{@code gc_action_bar_back}