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 Type
    Method
    Description
    boolean
    Returns whether to enable dynamic RTL support for this widget.
    void
    setRtlSupport(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:
      true if dynamic RTL support is enabled for this widget.
    • setRtlSupport

      void setRtlSupport(boolean rtlSupport)
      Sets the dynamic RTL support for this widget.
      Parameters:
      rtlSupport - true to enable the RTL support for this widget.