Interface DynamicRtlWidget
- All Known Implementing Classes:
DynamicCollapsingToolbarLayout,DynamicTextView
public interface DynamicRtlWidget
Interface to create widgets with support for RTL (right-to-left) layouts.
When enabled, widgets will adjust gravity or text alignment automatically to support the RTL (right-to-left) layouts.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether to enable dynamic RTL support for this widget.voidsetRtlSupport(boolean rtlSupport) Sets the dynamic RTL support for this widget.
-
Method Details
-
isRtlSupport
boolean isRtlSupport()Returns whether to enable dynamic RTL support for this widget.- Returns:
trueif dynamic RTL support is enabled for this widget.
-
setRtlSupport
void setRtlSupport(boolean rtlSupport) Sets the dynamic RTL support for this widget.- Parameters:
rtlSupport-trueto enable the RTL support for this widget.
-