Questions tagged [onmeasure]

77 questions
0
votes
1 answer

TextView not adjusting after manual repositioning of sibling layout

I have a situation where I'm manually adjusting a WebView's dimensions onMeasure because I need the webview to be square and to occupy a specific percentage of the screen (and appear at some specific relative coordinate after it's been shaped into…
Yevgeny Simkin
  • 27,946
  • 39
  • 137
  • 236
-1
votes
1 answer

why do'nt super.onMeasure or textView,setText() trigger measure pass again?

I have some android code of a custom FrameLayout. The code changes some textView text. I see the change take effect only when i call super.onMeasure(...,...) I would expect it to call onMeasure() automatically when the text change via code or when I…
Elad Benda
  • 35,076
  • 87
  • 265
  • 471
1 2 3 4 5
6