1 | import android.view.*; |
2 | |
3 | static LinearLayout aWestAndCenter(View w, View c) { |
4 | w.setLayoutParams(new LinearLayout.LayoutParams( |
5 | LinearLayout.LayoutParams.WRAP_CONTENT, |
6 | LinearLayout.LayoutParams.MATCH_PARENT, 0.0f)); |
7 | c.setLayoutParams(new LinearLayout.LayoutParams( |
8 | LinearLayout.LayoutParams.MATCH_PARENT, |
9 | LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); |
10 | ret aHorizontalLinearLayout(w, c); |
11 | } |
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: | #1014915 |
Snippet name: | aWestAndCenter (Android BorderLayout) |
Eternal ID of this version: | #1014915/5 |
Text MD5: | 4446286bc0fc29a260f57b17a8267389 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-06 12:45:52 |
Source code size: | 421 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 539 / 579 |
Version history: | 4 change(s) |
Referenced in: | [show references] |