[android-developers] Re: Coloring Default Buttons - color filter only on unfocused state

2010-02-03 Thread RLo
graphic is now hardcoded into the app, it would break the flow. Maybe can someone comment on whether it would be good or bad practice to hardcode the default graphic into the app? What are the chances of the OS completely changing the graphic? Thanks! On Feb 2, 4:57 pm, RLo wrote: > Also tr

[android-developers] Re: Coloring Default Buttons - color filter only on unfocused state

2010-02-02 Thread RLo
, -statePressed}, norm); myButton.setBackgroundDrawable(sd); Whichseems like it would make sense. But i get nullpointer exception because turns out I can't mutate an android.R.drawable... Any ideas?? Help!! On Feb 2, 4:23 pm, RLo wrote: > Hi All, > > I want

[android-developers] Coloring Default Buttons - color filter only on unfocused state

2010-02-02 Thread RLo
Hi All, I want to buttons of different colors, but I want to do so while using the default button background resource in order to preserve the onfocus and onclick states. This is because I want to use the default highlight color of the OS for my app, which is NOT always orange (HTC Sense makes it

[android-developers] Re: Extending TabHost - override focus handling

2010-01-12 Thread RLo
wow well, i guess i solved my own problem. instead of overriding the tabhost's implementation of dispatchkeyevent, i implemented my logic in my extension of tab activity and it works! On Jan 12, 12:55 pm, RLo wrote: > Hi All, > > I have a tabhost with the tabwidget on the bottom (

[android-developers] Extending TabHost - override focus handling

2010-01-12 Thread RLo
Hi All, I have a tabhost with the tabwidget on the bottom (not hard to do, just put the tabcontent above the tabs in the tab xml). However, I noticed the order of focus is off (since the tabhost is hardcoded to be on the top). I'd like to change 2 things in how the tabhost handles focus order:

[android-developers] Webview Zoom Picker

2008-10-16 Thread RLo
Hi all, I'm using the webview and would like to add functionality to zoom in and out. The zoompicker (used in the browser) is most natural, but when I try to call it using invokeZoomPicker(), nothing happens. I've tried calling it in many different ways, but it doesn't show up. Anyone know how

[android-developers] Re: ListView with different images for each line

2008-04-23 Thread RLo
dude. you are awesome. works perfectly, thank you! On Apr 22, 6:11 pm, xingye <[EMAIL PROTECTED]> wrote: > you can use viewbinder > seehttp://code.google.com/p/sharepath/ Inbox.java > > On 4月23日, 上午7时50分, RLo <[EMAIL PROTECTED]> wrote: > > > I'm cr

[android-developers] ListView with different images for each line

2008-04-22 Thread RLo
I'm creating a sort of "buddy list", using a ListView that draws information from a local sqlite database into a cursor and sets the ListView using a SimpleCursorAdapter. The Problem: I want to add icons for each entry in the buddy list, imagine something like Google Chat's red and green icons, e