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 aCenterAndSouth(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(c); |
15 | ll.addView(s); |
16 | ret ll; |
17 | } |
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: | #1008254 |
| Snippet name: | aCenterAndSouth (Android BorderLayout) |
| Eternal ID of this version: | #1008254/1 |
| Text MD5: | 7f0622d2f6da055166993c6175395443 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-03 13:17:33 |
| Source code size: | 514 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 727 / 730 |
| Referenced in: | [show references] |