How can I specify the default style of my widget

by birds fly » Fri, 13 Feb 2009 08:59:20 GMT

Sponsored Links
you can use Theme , The theme can include all style information.

<style name=string [parent=string] >
   <item name=string></item>

On Fri, Feb 13, 2009 at 8:16 AM, Meryl Silverburgh <


Other Threads

1. "assets" directory and AssetManager caused the "No space left on device" problem

After I suspected that my sdcard.img was somehow getting imported in
my application, I removed everything in my 'assets' directory.  And
sure enough, that was the culprit for the "No space left on device"
problem.  AssetManager was importing all files and sub directories in
my 'assets' directory.

2. Accessing preferences

Hi, I'm having a hard time trying to understand how the preferences activity
Right now I have an activity for my preferences using a XML layout that has




                android:title="Use light skin"

                android:summary="Use a white interface instead of the
default one." />


The thing is that everything I do in the preferences are saved. I can reboot
the emulator and I can access the preferences. I want to know how can I
access this key from another activity on my application.

this is my activity:

public class Config extends PreferenceActivity


protected void onCreate(Bundle savedInstanceState) {




 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
String key) {

// Nothing here.




3. Progress Bar Color

4. Running out of memory with Scanner

5. Custom Home Screen..

6. How to layout image buttons in a grid view from xml layout file?

7. iPhone SIM Card compatibility