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

9
LINES

< > BotCompany Repo | #1014883 // aCenteredTextView

JavaX fragment (include)

static TextView aCenteredTextView(S text) {
  final TextView tv = aTextView(text);
  androidUI(r { tv.setGravity(Gravity.CENTER_HORIZONTAL) });
  ret tv;
}

static TextView aCenteredTextView() {
  ret aCenteredTextView("");
}

Author comment

Began life as a copy of #1008231

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: #1014883
Snippet name: aCenteredTextView
Eternal ID of this version: #1014883/1
Text MD5: 85af5f3dc7e72b9b6454420d33e9c865
Author: stefan
Category: javax / android
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-05 23:12:01
Source code size: 233 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 404 / 449
Referenced in: [show references]