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 aNorthCenterAndSouth(View n, View c, View s) {
|
9 | LinearLayout ll = new LinearLayout(androidActivity ()); |
10 | ll.setOrientation(ll.VERTICAL); |
11 | c.setLayoutParams(new LinearLayout.LayoutParams( |
12 | LinearLayout.LayoutParams.MATCH_PARENT, |
13 | LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); |
14 | ll.addView(n); |
15 | ll.addView(c); |
16 | ll.addView(s); |
17 | ret ll; |
18 | } |
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: | 737 / 745 |
| Referenced in: | [show references] |