1

Animation working fine in 4.2 but with an error in 2.3

view story
linux-howto

http://stackoverflow.com – This might be a bit long, but I will be so clear while explaining. I'm developing an app which basically consists of a layout, with two relative layouts. When you click any of the two layouts, the second layout, expands or shrinks deppending of its actual visibility. This is the layout: This is the code that listens for any click on "main" or on "child" to expand/shrink: public void toggleAmagar(View v){ View parent = (View) v.getParent(); View child = parent.findViewById(R.id.child); Log.d("debugging","toggle amagar. Child visibility is :"+child.getVisibility (HowTos)