Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Figma for confluence lite
nodeUrlhttps://www.figma.com/file/McDZrQPr6IgkzCQtN3lqAe/Android-Gini-Capture-SDK-3.0.0-UI-Customisation?node-id=10%3A2540

...

Bottom navigation bar

You can In order to inject your own view for the bottom navigation bar. You can , pass your custom NoResultsNavigationBarBottomAdapter implementation to GiniCapture.Builder:

Code Block
languagekotlin
NoResultsNavigationBarBottomAdapter customNoResultsNavigationBarBottomAdapter = new CustomNoResultsNavigationBarBottomAdapter();

GiniCapture.newInstance()
        .setNoResultsNavigationBarBottomAdapter(customNoResultsNavigationBarBottomAdapter)
        .build();

...

Custom Help Screens

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

Code Block
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();