java.lang.Object | ||
↳ | DialogFragment | |
↳ | com.pdftron.pdf.dialog.ViewModePickerDialogFragment |
The ViewModePickerDialogFragment shows various view mode options, including different page presentation modes, color modes, reflow mode etc.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | ViewModePickerDialogFragment.ViewModePickerDialogFragmentListener | Listener interface for view mode dialog events. | |||||||||
enum | ViewModePickerDialogFragment.ViewModePickerItems |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ViewModePickerDialogFragment() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static ViewModePickerDialogFragment | newInstance(PDFViewCtrl.PagePresentationMode currentViewMode, int colorMode, boolean isRTLMode, boolean isReflowMode, int reflowTextSize, ArrayList<Integer> hiddenItems) | ||||||||||
static ViewModePickerDialogFragment |
newInstance(PDFViewCtrl.PagePresentationMode currentViewMode, boolean isRTLMode, boolean isReflowMode, int reflowTextSize)
Creates a new instance of view mode picker dialog fragment
| ||||||||||
static ViewModePickerDialogFragment |
newInstance(PDFViewCtrl.PagePresentationMode currentViewMode, boolean isRTLMode, boolean isReflowMode, int reflowTextSize, ArrayList<Integer> hiddenItems)
Creates a new instance of view mode picker dialog fragment
| ||||||||||
void | onCreate(Bundle savedInstanceState) | ||||||||||
Dialog | onCreateDialog(Bundle savedInstanceState) | ||||||||||
void | onDismiss(DialogInterface dialog) | ||||||||||
void | onStart() | ||||||||||
void | onStop() | ||||||||||
void |
setListViewHeightBasedOnChildren(ListView listView, LinearLayout layout)
Sets list view height based on children layout
| ||||||||||
void |
setViewModePickerDialogFragmentListener(ViewModePickerDialogFragment.ViewModePickerDialogFragmentListener listener)
Sets view mode picker dialog fragment listener
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a new instance of view mode picker dialog fragment
currentViewMode | current view mode |
---|---|
isRTLMode | is right to left mode |
isReflowMode | is reflow mode |
reflowTextSize | reflow mode text size |
Creates a new instance of view mode picker dialog fragment
currentViewMode | current view mode |
---|---|
isRTLMode | is right to left mode |
isReflowMode | is reflow mode |
reflowTextSize | reflow mode text size |
hiddenItems | view mode items to hide |
Sets list view height based on children layout
listView | list view |
---|---|
layout | children layout |
Sets view mode picker dialog fragment listener
listener | The listener |
---|