IT. Expert System.

Android Reference

ScrollViewScenario.Params


android.util

Class ScrollViewScenario.Params

  • Enclosing class:
    ScrollViewScenario


    public static class ScrollViewScenario.Params
    extends Object
    Builder for selecting the views to be vertically arranged in the scroll view.
    • Constructor Detail

      • ScrollViewScenario.Params

        public ScrollViewScenario.Params()
    • Method Detail

      • addTextView

        public ScrollViewScenario.Params addTextView(String text,
                                            float heightRatio)
        Add a text view.
        Parameters:
        text - The text of the text view.
        heightRatio - The view's height will be this * the screen height.
      • addTextViews

        public ScrollViewScenario.Params addTextViews(int numViews,
                                             String textPrefix,
                                             float heightRatio)
        Add multiple text views.
        Parameters:
        numViews - the number of views to add.
        textPrefix - The text to prepend to each text view.
        heightRatio - The view's height will be this * the screen height.
      • addButton

        public ScrollViewScenario.Params addButton(String text,
                                          float heightRatio)
        Add a button.
        Parameters:
        text - The text of the button.
        heightRatio - The view's height will be this * the screen height.
      • addButtons

        public ScrollViewScenario.Params addButtons(int numButtons,
                                           String textPrefix,
                                           float heightRatio)
        Add multiple buttons.
        Parameters:
        numButtons - the number of views to add.
        textPrefix - The text to prepend to each button.
        heightRatio - The view's height will be this * the screen height.
      • addInternalSelectionView

        public ScrollViewScenario.Params addInternalSelectionView(int numRows,
                                                         float heightRatio)
        Parameters:
        numRows - The number of rows in the internal selection view.
        heightRatio - The view's height will be this * the screen height.
      • addVerticalLLOfButtons

        public ScrollViewScenario.Params addVerticalLLOfButtons(String prefix,
                                                       int numButtons,
                                                       float heightRatio)
        Add a sublayout of buttons as a single child of the scroll view.
        Parameters:
        numButtons - The number of buttons in the sub layout
        heightRatio - The layout's height will be this * the screen height.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 261 / 158766159. Delta: 0.02967 с