Skip to end of banner
Go to start of banner

Help Screen

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

On this page, you can find out how to customize your camera screen.


UI customization


Bottom navigation bar

You can inject your own view for the bottom navigation bar. You can pass your custom HelpNavigationBarBottomAdapter implementation to GiniCapture.Builder:

HelpNavigationBarBottomAdapter customHelpNavigationBarBottomAdapter = new CustomHelpNavigationBarBottomAdapter();

GiniCapture.newInstance()
        .setHelpNavigationBarBottomAdapter(customHelpNavigationBarBottomAdapter)
        .build();

Custom help screens

You can show your own help screens. They can be appended to the list on the main help screen. You can pass the title and activity for each screen to the GiniCapture.Builder using a list of HelpItem.Custom objects:

List<HelpItem.Custom> customHelpItems = new ArrayList<>();

customHelpItems.add(new HelpItem.Custom(R.string.custom_help_screen_title,
        new Intent((Context) this, CustomHelpActivity.class)));

GiniCapture.newInstance()
        .setCustomHelpItems(customHelpItems)
        .build();

  • No labels