How can I specify the default style of my widget

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


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

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


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




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. how to deleted contact group

i am writing a application of backup contacts.
i need to delete contacts and groups before  restore  from backup
file.
the contacts were deleted but the gourps were not .who can tell me how
to do it.

          getContentResolver().delete(
                                ContactsContract.RawContacts.CONTENT_URI, null, 
null);


                String where = ContactsContract.Data.MIMETYPE + " = ?";
                String[] whereParameters = new String[]
{ GroupMembership.CONTENT_ITEM_TYPE };

                getContentResolver().delete(
                                ContactsContract.Data.CONTENT_URI, where, 
whereParameters);

                getContentResolver().delete(
                                ContactsContract.Groups.CONTENT_URI,
                                ContactsContract.Groups.SYSTEM_ID + " is null 
and "
                                                + ContactsContract.Groups._ID + 
" > "
                                                + GROUP_ID_STARRED_IN_ANDROID, 
null);

                // notify registered observers that a row was updated
        
getContentResolver().notifyChange(ContactsContract.Groups.CONTENT_URI,
                                null);

-- 

2. CheckedTextView - only can select once checkbox

I'm really frusterated at this point, three days in.  I've put many
hours into this issu and am no closer to having a working (let alone
proper) solution.  Why is this so painful to accomplish I wonder
aloud.

Problem:

I've got a a ListView which has a row.xml for each row in the
ListView.  That file has two TextView's, ImageView, and a
CheckedTextView.

Now, I can get one CheckedTextView to become checked by pressing on
its UI area.  But, I cannnot not check any other unchecked checkbox in
the ListView.

Further more I see checkboxes when I scroll down that have checkmarks
in them where I did not check such myself.

So, what is the issue?  One of you google engineers surely can explain
this to us end-devs, better yet please supply a sample project.  I
have each row also where the user can select a file and work is done
with it when that path is pasted back to the main activity (which
works fine).

I have half the hair I had 72 hours ago (because I pulled half out).
Please, please help those of us struggling with this important feature
(CheckedTextView).  As I see several posts about this, anything from
implement Clickable on the class (which I did, both trying on the main
java file and as a helper class) to CheckedTextView has to be the
parent in the xml file (not say a LinearLayout for example).

Please...... help... drowing ..... in ... stess.

Thank you

-- 

3. source code help - reading framebuffer using glReadPixels

4. prob in attaching txt file while email from internal package file storage

5. How to parse the xml from a httpresponse?

6. automatically turn on application

7. Converting audio format