Jared wrote: > I have an HTC Hero from Sprint in the US and was curious about the how > the Stocks HTC widget scrolls text like a ticker. It is only the 4x1 > sized widget that scrolls quotes. As far as I know, homescreen widgets > can only use RemoteViews for the layout, which is limited to the > following layouts and widgets (from > http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout): > > * AbsoluteLayout > * FrameLayout > * LinearLayout > * RelativeLayout > * AnalogClock > * Button > * Chronometer > * ImageButton > * ImageView > * ProgressBar > * TextView > Descendants of these classes are not supported. > > I know that this could be done in an app with android.widget.scroller, > but that can't be used in a homescreen widget. Would this > functionality be specific to the Sense UI homescreen capabilities? I > guess, my main question is if this can be replicated for a standard > Android widget and if so how.
Look at the android:marquee attribute on TextView, and see if that fits your needs. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year -- 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

