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

14
LINES

< > BotCompany Repo | #1023299 // aWestCenterAndEast_alignTop2 (dev.)

JavaX fragment (include)

1  
import android.view.*;
2  
3  
static LinearLayout aWestCenterAndEast_alignTop2(View w, View c, View e) {
4  
  w.setLayoutParams(new LinearLayout.LayoutParams(
5  
    LinearLayout.LayoutParams.WRAP_CONTENT,
6  
    LinearLayout.LayoutParams.WRAP_CONTENT, 0.0f));
7  
  c.setLayoutParams(new LinearLayout.LayoutParams(
8  
    LinearLayout.LayoutParams.MATCH_PARENT,
9  
    LinearLayout.LayoutParams.WRAP_CONTENT, 1.0f));
10  
  e.setLayoutParams(new LinearLayout.LayoutParams(
11  
    LinearLayout.LayoutParams.WRAP_CONTENT,
12  
    LinearLayout.LayoutParams.WRAP_CONTENT, 0.0f));
13  
  ret aHorizontalLinearLayout(w, c, e);
14  
}

Author comment

Began life as a copy of #1023298

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: #1023299
Snippet name: aWestCenterAndEast_alignTop2 (dev.)
Eternal ID of this version: #1023299/1
Text MD5: 162d5413fc8481978acf0a90355198b4
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:24:01
Source code size: 596 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 279 / 319
Referenced in: [show references]