StackOverflow Questions for Tag: onmeasure

undefined
undefined

Reputation: 695

strange onMeasure() behavior

Score: 0

Views: 139

Answers: 1

Read More
GregNash
GregNash

Reputation: 1336

When is View.onMeasure() called?

Score: 32

Views: 32147

Answers: 2

Read More
xuange
xuange

Reputation: 67

Android: java.lang.ClassCastException: com.android.layoutlib.bridge.android.BridgeContext cannot be cast to android.app.Activity"

Score: 1

Views: 1884

Answers: 2

Read More
Wayne
Wayne

Reputation: 21

Expand the third level slow in a three-level expandable list view because the 3rd level have to be totally loaded regardless of the view port

Score: 2

Views: 152

Answers: 0

Read More
linguowu
linguowu

Reputation: 111

Why is onMeasure() called twice in my custom View?

Score: 11

Views: 7606

Answers: 3

Read More
ProgrammerYuan
ProgrammerYuan

Reputation: 61

OnMeasure get wrong value when in XML width and height are all fixed

Score: 3

Views: 311

Answers: 0

Read More
Zeek Aran
Zeek Aran

Reputation: 606

Custom font causing my dynamic ViewPager's OnMeasure to cut off lines of text

Score: 1

Views: 328

Answers: 1

Read More
Kanj
Kanj

Reputation: 410

Understanding onMeasure implementation in ViewPager

Score: 1

Views: 389

Answers: 0

Read More
shurrok
shurrok

Reputation: 831

Android View: onMeasure() onLayout() onDraw() how to limit calls

Score: 0

Views: 1566

Answers: 0

Read More
Swathi Gopal
Swathi Gopal

Reputation: 103

TextView is not rendered when added in separate layout in OnMeasure override method in Xamarin.Android

Score: 1

Views: 74

Answers: 1

Read More
Christopher23
Christopher23

Reputation: 126

Android View resize and WindowManager: unwanted transition during child view placement

Score: 0

Views: 1788

Answers: 1

Read More
AConsiglio
AConsiglio

Reputation: 256

onMeasure call to getMeasuredWidth or Height return 0 for children

Score: 0

Views: 1554

Answers: 1

Read More
Jongz Puangput
Jongz Puangput

Reputation: 5637

How to get Custom ViewGroup height in onMeasure

Score: 0

Views: 1709

Answers: 1

Read More
Suragch
Suragch

Reputation: 511586

Custom view's onMeasure: how to get width based on height

Score: 23

Views: 13391

Answers: 2

Read More
Curry Cao
Curry Cao

Reputation: 31

what's the difference between view and viewgroup for the method onMeasure()?

Score: 3

Views: 535

Answers: 1

Read More
Maksim Dmitriev
Maksim Dmitriev

Reputation: 6209

onMeasure and onLayout of child views are not called after requestLayout on their parent

Score: 3

Views: 7610

Answers: 1

Read More
Caro
Caro

Reputation: 45

Android: How to change the size of a GradientDrawable within a layer-list programmatically

Score: 1

Views: 3392

Answers: 1

Read More
Alireza Ahmadi
Alireza Ahmadi

Reputation: 5338

Set Height to Custom ViewGroup

Score: 2

Views: 1228

Answers: 2

Read More
reza malekmohamadi
reza malekmohamadi

Reputation: 667

setGravity after setMeasuredDimension is not work

Score: 1

Views: 354

Answers: 2

Read More
LunarS
LunarS

Reputation: 95

How to redraw a customized view in onResume?

Score: 0

Views: 904

Answers: 1

Read More
PreviousPage 2Next