function TextView(theme) {
        theme = theme || Theme.DEFAULT;
        let params = this._params = new LinearLayout_.LayoutParams(-1, -2),
            view = this._view = new TextView_(CONTEXT);
        this._theme = theme;
        params.setMargins(DP * 8, DP * 8, DP * 8, DP * 8);
        view.setLayoutParams(params);
        view.setText("TextView");
        view.setTextColor(theme.getTextView(Theme.TEXT_COLOR));
        view.setTextSize(1, 16);
    }
/**
     * Class representing a text view.
     * @since 2016-05-03
     * @class
     * @extends me.astro.widget.View
     * @memberOf me.astro.widget
     * @param {me.astro.design.Theme} [theme=me.astro.design.Theme.DEFAULT] Theme of text view
     */
Class representing a text view.
Class representing a text view .
function TextView(theme) {
        theme = theme || Theme.DEFAULT;
        let params = this._params = new LinearLayout_.LayoutParams(-1, -2),
            view = this._view = new TextView_(CONTEXT);
        this._theme = theme;
        params.setMargins(DP * 8, DP * 8, DP * 8, DP * 8);
        view.setLayoutParams(params);
        view.setText("TextView");
        view.setTextColor(theme.getTextView(Theme.TEXT_COLOR));
        view.setTextSize(1, 16);
    }
function TextView ( theme ) { theme = theme || Theme . DEFAULT ; let params = this . _params = new LinearLayout_ . LayoutParams ( - 1 , - 2 ) , view = this . _view = new TextView_ ( CONTEXT ) ; this . _theme = theme ; params . setMargins ( DP * 8 , DP * 8 , DP * 8 , DP * 8 ) ; view . setLayoutParams ( params ) ; view . setText ( "TextView" ) ; view . setTextColor ( theme . getTextView ( Theme . TEXT_COLOR ) ) ; view . setTextSize ( 1 , 16 ) ; }
Class representing a text view.
Class representing a text view .