Java Code Examples for android.view.View.getMeasuredHeightAndState()

The following are Jave code examples for showing how to use getMeasuredHeightAndState() of the android.view.View class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: AOdia   File: ReSizeAnimation.java   Source Code and License Vote up 5 votes
public ReSizeAnimation(View view, int addHeight, int startHeight) {
    this.view = view;
    if(addHeight==-1){
        view.measure(view.getMeasuredWidthAndState(),0);
        addHeight=view.getMeasuredHeightAndState();
    }
    this.addHeight = addHeight;
    this.startHeight = startHeight;
}
 
Example 2
Project: letv   File: ViewCompatHC.java   Source Code and License Vote up 4 votes
public static int getMeasuredHeightAndState(View view) {
    return view.getMeasuredHeightAndState();
}
 
Example 3
Project: boohee_v5.6   File: ViewCompatHC.java   Source Code and License Vote up 4 votes
public static int getMeasuredHeightAndState(View view) {
    return view.getMeasuredHeightAndState();
}