3

i'm using the RealViewSwitcher component in my Android app. It is inside a RelativeLayout and i set its height to 200dp. But every time i try to run the app this error occurred :

ViewSwitcher can only be used in EXACTLY mode.

How can i do to solve this annoying problem?? Thank you all

prayagupa
  • 30,204
  • 14
  • 155
  • 192
Andrea Mario Lufino
  • 7,921
  • 12
  • 47
  • 78
  • EXACTLY mode is when the parent has determined an exact size for the child. - 1) http://developer.android.com/reference/android/view/View.MeasureSpec.html#EXACTLY 2)http://stackoverflow.com/questions/3558320/viewswitcher-and-layout-height-in-android – prayagupa Sep 19 '12 at 11:18

0 Answers0