Hey All,
I'm trying to transition from my main splash screen to the next part
of my code. How do I kill my splash screen?... In my main.xml the
splash screen image is simply:
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/my_image"
/>
directly under the <Imageview in my main.xml file I have <TextViews
and <Spinners. Does the <Imageview portion of my text need to reside
in a different .xml file?...
The Dev Guide suggests using an expand_collapse.xml, which is fine,
but I'm not sure where to place the bottom part of that tutorial
section:
<With this XML saved in the file res/drawable/expand_collapse.xml, the
following code will instantiate the TransitionDrawable and set it as
the content of an ImageView:
Resources res = mContext.getResources();TransitionDrawable transition
= (TransitionDrawable) res.getDrawable
(R.drawable.expand_collapse);ImageView image = (ImageView) findViewById
(R.id.toggle_image);image.setImageDrawable(transition);>
Is this a seperate .java file? How do these pieces fit together?
Thx in advance!
D
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en