Transpiled version (1158L) is out of date.
1 | !7 |
2 | |
3 | import android.widget.GridLayout; |
4 | import android.view.ViewGroup.LayoutParams; |
5 | |
6 | p {
|
7 | androidUI(r {
|
8 | GridLayout gv = new GridLayout(androidActivity()); |
9 | //gv.getLayoutParams().width = LayoutParams.MATCH_PARENT; |
10 | //gv.setColumnCount(3); |
11 | for (S s : splitAtSpace("Yes No Stop"))
|
12 | gv.addView(aButton(s)); |
13 | androidShow(gv); |
14 | }); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, nbgitpuheiab, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1008243 |
| Snippet name: | Android GridLayout Test (OK, but places buttons to the left) |
| Eternal ID of this version: | #1008243/11 |
| Text MD5: | 745da63245a2ddc5b7b04d21c9270be6 |
| Author: | stefan |
| Category: | javax / android |
| Type: | JavaX source code (Android) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-02 17:00:15 |
| Source code size: | 364 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 762 / 870 |
| Version history: | 10 change(s) |
| Referenced in: | [show references] |