I'm developing an App widget. I want the widget to alternate between displaying a image and, displaying some text.
The layout is designed using a RelativeLayout like this....
<RelativeLayout ....>
<Textview.... />
bla bla....
<TextView...... /> <!-- First I want to display these textviews -->
<TextView...... /> <!-- First I want to display these textviews -->
<TextView...... /> <!-- First I want to display these textviews -->
<ImageView...... /> <!-- After nest update I want to show this image instead -->
</RelativeLayout>
Can I group these controls and hide/show these groups or do I have to handle all of them? Maybe there is a better to do this? Different layoutfiles?
It looks to me like you want to use a ViewFlipper. You can check out the docs here: ViewFlipper