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

18
LINES

< > BotCompany Repo | #1008234 // aNorthCenterAndSouth (Android BorderLayout)

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 aNorthCenterAndSouth(View n, View c, View s) {
  LinearLayout ll = new LinearLayout(androidActivity ());
  ll.setOrientation(ll.VERTICAL);
  c.setLayoutParams(new LinearLayout.LayoutParams(
    LinearLayout.LayoutParams.MATCH_PARENT,
    LinearLayout.LayoutParams.MATCH_PARENT, 1.0f));
  ll.addView(n);    
  ll.addView(c);
  ll.addView(s);
  ret ll;
}

Author comment

Began life as a copy of #1005317

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: #1008234
Snippet name: aNorthCenterAndSouth (Android BorderLayout)
Eternal ID of this version: #1008234/1
Text MD5: bd72062b348149a9849e08ef7dba1063
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-01 17:00:23
Source code size: 550 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 503 / 514
Referenced in: [show references]