Skip to content

2. Customisations

Zardozz edited this page Jan 19, 2022 · 2 revisions

The following items can be customised:-

  • Minimum and Maximum Scale limits
    The default minimum scale is 0.5f or 50% of the original size.
    The default maximum scale is 2.0f or 200% of the original size.
    These can be viewed/changed

    • Programmatically

      getMinScale();  
      setMinScale(float);  
      getMaxScale();
      setMaxScale(float);
    • Via Layout XML

       app:fhtl_min_scale="0.1"
       app:fhtl_max_scale="3.0"
  • Scrollbars
    FixedHeaderTableLayout supports standard view scrollbars.
    These can be enabled via the standard XML properties e.g.

    android:scrollbars="horizontal|vertical"
    android:fadeScrollbars="false"
    android:scrollbarSize="10dp"
    android:scrollbarStyle="insideOverlay"