Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1014879 // aVerticalLinearLayout

JavaX fragment (include)

import android.app.*;
import android.widget.*;
import android.view.*;
import android.view.KeyEvent;
import android.view.inputmethod.*;
import android.text.*;

static LinearLayout aVerticalLinearLayout(final View... views) {
  ret androidUI(func -> LinearLayout {
    LinearLayout ll = new LinearLayout(androidActivity());
    ll.setOrientation(ll.VERTICAL);
    for (View v : views) if (v != null) aAddView(ll, v);
    ret ll;
  });
}

Author comment

Began life as a copy of #1008255

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014879
Snippet name: aVerticalLinearLayout
Eternal ID of this version: #1014879/3
Text MD5: 33aca98470bf420a075ab37630fe96a1
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-06 09:32:56
Source code size: 450 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 410 / 456
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)