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

9
LINES

< > BotCompany Repo | #1023329 // aVerticalSpacer - in LinearLayout

JavaX fragment (include)

import android.widget.*;

static View aVerticalSpacer(final int height) {
  final Space s = aSpace();
  androidUI {
    s.setLayoutParams(new LinearLayout.LayoutParams(1, height));
  }
  ret s;
}

Author comment

Began life as a copy of #1014919

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: #1023329
Snippet name: aVerticalSpacer - in LinearLayout
Eternal ID of this version: #1023329/2
Text MD5: 4b819e9bcc605c9c7f8f9dc1112e7d90
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-06 12:33:05
Source code size: 203 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 185
Version history: 1 change(s)
Referenced in: [show references]