[android-developers] Changing the background color of an notification icon

2014-11-22 Thread dashman
How can I change the background color of icon notifications. That is - the circular icon that's displayed when the notification panel is opened. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] text align textview/edittext in pre api17

2014-11-22 Thread TreKing
On Fri, Nov 21, 2014 at 7:10 PM, dashman erjdri...@gmail.com wrote: How can I center text in pre api 17. http://developer.android.com/reference/android/view/Gravity.html#CENTER_HORIZONTAL You can do * gravity=CENTER_HORIZONTAL* and *layout_width=MATCH_PARENT*, where the text is centered

[android-developers] Adding an image to the right of a Preference

2014-11-22 Thread dashman
I've got a Preference (not a sub-class) in a settings page... Like to add an imagebutton on the right side. How can I do that? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] GPS Background Service Stops Receiving Updates

2014-11-22 Thread Tony Pitman
I am writing an app that needs to get gps location information in the background. I created a class derived from Service to do this. I copied the example on the Android developer site about making a background service. It uses the ServiceHandler thread to do the work. I use location manager