On my Galaxy Nexus, now with 4.0.4, I see the fading edges in my app. This is in an activity, not an app widget, but I'm not doing anything special to enable them (I wouldn't have noticed on my own).
On the home screen, app shortcuts with long names have one dot at the end (not three) and are clipped without fading. -- K 2011/12/20 YuviDroid <[email protected]> > Hey there, > > I found something strange about ellipsize="marquee" on my Galaxy > Nexus...or better...it doesn't work. Instead of seeing nice fading edges at > the end of the word (when the word doesn't fit the view of course), you get > the normal dots ("..."). > After some digging through the ICS source code I found, in the > ViewConfiguration class, this (which enables/disables the fading edge for > marquee): > > mFadingMarqueeEnabled = > res.getBoolean(com.android.internal.R.bool.config_ui_enableFadingMarquee); > > For some reason on the Galaxy Nexus (Android 4.0.1) this is actually > "false". Do you have any idea on why is that? > I also tried with Android 4.0.3 on the Nexus S, with the same results. > > As a test, I tried using Reflection to force the value > of mFadingMarqueeEnabled to true. And while it does work in my own > Activities, in doesn't work on AppWidgets (and that's where I'm actually > using this). > > Do you know if it's actually possible somehow to change the boolean value > of com.android.internal.R.bool.config_ui_enableFadingMarquee? (I believe > not... :( ) > > On the emulator (tested both with Android 4.0 and 4.0.3) this is actually > set to "true". > > > If you have an ICS device could you check if fading edges work for you? (a > quick way to check this is to place on your homescreen an app with a long > name - e.g. "News & Weather" - and see if it shows ".." at the end of the > name, or if it fades nicely). > > > Thank you, > Cheers, > Yuvi > > > > -- > YuviDroid > Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget > to quickly access your favorite apps and contacts!) > http://www.droidahead.com/apps/launchx/ <http://android.yuvalsharon.net> > > -- > 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 -- 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

