How to change the selected color (default green) of a toggle button

by chickenlives » Sun, 08 Mar 2009 14:43:06 GMT


Sponsored Links
 How do you change the color of a selected toggle button.  I'm
referring to the green line indicator which lights up when the button
is in the checked state.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Problem with a remote service

Hi everyone,
I tried again and again to put on a remote service by means of an AIDL
interface and I need some help.
On the one hand, I have a project in which I specified the AIDL
interface in a myFile.aidl file that generated an myFile.java. In
addition, I implemented a Service in which a implement the method of
the interface.


private final IAdditionService.Stub myBinder=new
IAdditionService.Stub()
   {
      //Implementation of the add() method
      public int add(int value1, int value2) throws RemoteException
      {
           Log.d(TAG, String.format("AdditionService.add(%d,
%d)",value1, value2));
           return value1 + value2;
       }
};


All of these files (.aidl and his generated java file, and the
service) are inside a package called com.package1


Now, I want to use this service in another project. So, I have an
activity in a package called com.package2.
In this activity, I want to do a bindService or an startService for
example, and the question is:
What I need to include in this second project?
I need import the package1?
I need to create a package called also com.package1 and to put inside
a java interface?
I need to create a package called also com.package1 and to put inside
the aidl file?
Maybe some extra information in the manifest?
I've read several links but I don't found the solution and I'm so
saturaded at this moment? Some advice?
A lot of thanks,
Pablo.

-- 

2. How to invert colors within a region of a bitmap

I have a Canvas backed by a bitmap that I want to invert the color for
a rectangular region.
The meaning of inversion is to flip the bits of all the colors pixels.

I can't seem to find an easy way to do it using the Paint class.
Any suggestions?
--~--~---------~--~----~------------~-------~--~----~

3. Media player problems with android 2.3 (gingerbread), I can't open a service connection....

4. Launching an application from a email. Is that possible?

5. Local Developers Work Group

6. Smooth animation and GC

7. Get reference to "parent" window from TabHost Activity