java.lang.Object | |
↳ | com.pdftron.pdf.widget.bottombar.builder.BottomBarBuilder |
Builder class used to create a custom bottom bar. Used to add custom buttons to the bottom bar.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Creator<BottomBarBuilder> | CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BottomBarBuilder |
addCustomButton(int title, int icon, int buttonId)
Adds a custom button to the bottom bar
| ||||||||||
BottomBarBuilder |
addCustomSelectableButton(int title, int icon, int buttonId)
Adds a custom selectable button to the bottom bar
| ||||||||||
int | describeContents() | ||||||||||
AnnotationToolbarBuilder | getBuilder() | ||||||||||
static BottomBarBuilder |
withTag(String tag)
The tag that will be used to reference the toolbar.
| ||||||||||
void | writeToParcel(Parcel dest, int flags) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Adds a custom button to the bottom bar
title | of the button that will be shown when long pressed. |
---|---|
icon | of the button that will be shown in the toolbar |
buttonId | of the button, that is used to reference key press event. All buttons in a single toolbar must have unique menu ids |
BottomBarBuilder
Adds a custom selectable button to the bottom bar
title | of the button that will be shown when long pressed. |
---|---|
icon | of the button that will be shown in the toolbar |
buttonId | of the button, that is used to reference key press event. All buttons in a single toolbar must have unique menu ids |
BottomBarBuilder
The tag that will be used to reference the toolbar.
tag | Identifier used to reference the toolbar. |
---|
BottomBarBuilder