Re: [android-developers] Predefined styles

2011-02-08 Thread Kostya Vasilyev
You can find it in the source for Launcher2, and can get pretty close with a TextView that has a round-rect shape drawable as the background (the actual source uses a custom subclass of TextView, which you can't do with the sdk). However, yes, device manufacturers can customize it, and there are

Re: [android-developers] Predefined styles

2011-02-08 Thread Mattias Svala
On Tuesday, February 8, 2011 1:14:37 PM UTC+1, Kostya Vasilyev wrote: You can find it in the source for Launcher2, and can get pretty close with a TextView that has a round-rect shape drawable as the background (the actual source uses a custom subclass of TextView, which you can't do with

Re: [android-developers] Predefined styles

2011-02-08 Thread Kostya Vasilyev
Here it is: http://android.git.kernel.org/?p=platform/packages/apps/Launcher2.git;a=blob;f=res/values/styles.xml;h=c2082111cc8b1aa1c955f049a70ee3a3e30680cd;hb=refs/heads/froyo See style WidgetIcon and its background reference. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 08.02.2011 15:37