6 package com.google.appinventor.components.runtime.util;
8 import android.content.Context;
9 import android.view.View;
10 import android.view.ViewGroup;
11 import android.widget.Spinner;
26 return view.combineMeasuredStates(curState, newState);
30 return view.getMeasuredState();
33 public static int resolveSizeAndState(ViewGroup view,
int maxWidth,
int widthMeasureSpec,
int childState) {
34 return view.resolveSizeAndState(maxWidth, widthMeasureSpec, childState);
38 view.setRotation((
float) rotationAngle);
42 return new Spinner(activity, Spinner.MODE_DIALOG);