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

14
LINES

< > BotCompany Repo | #1023298 // aWestCenterAndEast_alignTop (dev.)

JavaX fragment (include)

import android.view.*;

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

Author comment

Began life as a copy of #1023295

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023298
Snippet name: aWestCenterAndEast_alignTop (dev.)
Eternal ID of this version: #1023298/1
Text MD5: dd764c00335b0949788e0aa9edf774ed
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-24 18:22:10
Source code size: 595 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 211
Referenced in: [show references]