java.lang.Object |
↳ |
DialogFragment |
|
↳ |
com.pdftron.demo.navigation.ToolbarFragment |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
A base fragment class used to provide basic support for an embedded Toolbar
widget.
It handles setting a Toolbar with id R.id#fragment_toolbar as the containing
FragmentActivity's androidx.appcompat.app.ActionBar action bar, applying a fallback shadow
to the main fragment content view with id R.id#fragment_content for pre-Lollipop devices,
and positioning the Toolbar correctly when the View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
flag
is used with View.setSystemUiVisibility(int)
.
Summary
Nested Classes |
class |
ToolbarFragment.Delegate |
This class defines a delegate which can be used to add inset-aware toolbar functionality to
any Fragment fragment inside a FragmentActivity. |
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
ToolbarFragment
()
Public Methods
public
void
onActivityCreated
(Bundle savedInstanceState)
public
void
onCreate
(Bundle savedInstanceState)
public
void
onViewCreated
(View view, Bundle savedInstanceState)
public
void
setTitle
(CharSequence title)
public
void
setTitle
(int titleId)
public
boolean
showCustomToolbarView
()
Whether to show a custom TextView for the toolbar title. This will be used if
left toolbar buttons are available.
public
void
updateToolbarDrawable
()