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

13
LINES

< > BotCompany Repo | #1008255 // aHorizontalLinearLayout

JavaX fragment (include)

1  
import android.app.*;
2  
import android.widget.*;
3  
import android.view.*;
4  
import android.view.KeyEvent;
5  
import android.view.inputmethod.*;
6  
import android.text.*;
7  
8  
static LinearLayout aHorizontalLinearLayout(View... views) {
9  
  LinearLayout ll = new LinearLayout(androidActivity());
10  
  ll.setOrientation(ll.HORIZONTAL);
11  
  for (View v : views) if (v != null) ll.addView(v);
12  
  ret ll;
13  
}

Author comment

Began life as a copy of #1008234

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: #1008255
Snippet name: aHorizontalLinearLayout
Eternal ID of this version: #1008255/3
Text MD5: 690a2dd10c39f78995cd3a958f23a606
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-03 13:22:54
Source code size: 391 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 580 / 586
Version history: 2 change(s)
Referenced in: [show references]