android-viewtreeobserver Questions

9

I want to hide emojis and auto suggestions from keyboard programmatically. Its working in some Android devices but not in all devices. here's my code for hide auto suggestions: txtSingupemail.setI...
Dungaree asked 30/11, 2016 at 12:53

3

I am set MaterialTextView inside RelativeLayout and set RelativeLayout size programmatically different size for every device. Then i have using ViewTreeObserver to set setMaxLines and setEllipsize...
Eusebiaeusebio asked 21/3, 2020 at 17:12

2

Solved

Why do we use ViewTreeObserver, please can anyone explain it? In below code creditsView is TextView object. By this whole code I understand that "this is to hide some text based on condition", but...
Naturalistic asked 26/4, 2017 at 11:54
1

© 2022 - 2024 — McMap. All rights reserved.