Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1014915 // aWestAndCenter (Android BorderLayout)

JavaX fragment (include)

import android.view.*;

static LinearLayout aWestAndCenter(View w, View c) {
  w.setLayoutParams(new LinearLayout.LayoutParams(
    LinearLayout.LayoutParams.WRAP_CONTENT,
    LinearLayout.LayoutParams.MATCH_PARENT, 0.0f));
  c.setLayoutParams(new LinearLayout.LayoutParams(
    LinearLayout.LayoutParams.MATCH_PARENT,
    LinearLayout.LayoutParams.MATCH_PARENT, 1.0f));
  ret aHorizontalLinearLayout(w, c);
}

Author comment

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: 410 / 449
Version history: 4 change(s)
Referenced in: [show references]