static <A extends TextView> A aCenterTextView(final A tv) { if (tv != null) androidUI { tv.setGravity(Gravity.CENTER_HORIZONTAL); } ret tv; }
Began life as a copy of #1014883
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: | #1023330 |
| Snippet name: | aCenterTextView |
| Eternal ID of this version: | #1023330/3 |
| Text MD5: | 32a5f288f4085925e41baec588384870 |
| 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:36:47 |
| Source code size: | 153 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 506 / 559 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |