1 | |
2 | import android.app.*; |
3 | import android.widget.*; |
4 | import android.view.*; |
5 | import android.view.KeyEvent; |
6 | import android.view.inputmethod.*; |
7 | import android.text.*; |
8 | |
9 | static LinearLayout aNorthAndCenter(View n, View c) {
|
10 | LinearLayout ll = new LinearLayout(androidActivity ()); |
11 | ll.setOrientation(ll.VERTICAL); |
12 | c.setLayoutParams(new LinearLayout.LayoutParams( |
13 | LinearLayout.LayoutParams.MATCH_PARENT, |
14 | LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); |
15 | ll.addView(n); |
16 | ll.addView(c); |
17 | ret ll; |
18 | } |
Began life as a copy of #1001080
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005317 |
| Snippet name: | aNorthAndCenter (Android BorderLayout) |
| Eternal ID of this version: | #1005317/5 |
| Text MD5: | f243e90288c79cea853d198744064e70 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-01 16:59:55 |
| Source code size: | 521 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 791 / 812 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |