Line Item Details Activity
When you use the Screen API, the LineItemDetailsActivity
displays a line item to be edited by the user. The user can modify the following:
deselect the line item,
edit the line item description,
edit the quantity,
edit the price.
The extractions returned in the CameraActivity.EXTRA_OUT_COMPOUND_EXTRACTIONS are updated to include the user's modifications.
The LineItemDetailsActivity
is started by the DigitalInvoiceActivity when the user taps on a line item to edit it.
Customizing the Line Item Details Screen
Customizing the look of the Line Item Details Screen is done via overriding of app resources.
Detailed description of the customization options is available in the customization guide.
Important: All overriden styles must have their respective Root.
prefixed style as their parent. Ex.: the parent of GiniCaptureTheme.Snackbar.Error.TextStyle
must be Root.GiniCaptureTheme.Snackbar.Error.TextStyle
.
Customizing the Action Bar
Customizing the Action Bar is also done via overriding of app resources and each one - except the title string resource - is global to all Activities.
The following items are customizable:
Background color: via the color resource named
gpb_action_bar
(highly recommended for Android 5+: customize the status bar color viagpb_status_bar
)Back button: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named {@code gpb_action_bar_back}