android - How to move focus smothly between different icons in GridView -
there highlight focus if focus 1 icon or 1 image in gridview. topically, highlight color orange in emulator 2.3, green in honeycomb, , blue in googletv. doesn't matter. can use
gridview.setselector(frame) gridview.setdrawselectorontop(true)
to change it. highlight focus static. if debug on googletv, find googletv's highlight background move smoothly when move 1 icon another.i search viewswitcher, find defined changing different screen, or different view. viewflipper different activities. know how animate slide in , out between different icons or images?
i search lot, still can't idea how it. can me.
the way done having separate view in app selector. there stub drawable class used selector of gridview. stub class has reference other view, , when bounds set, animates view bounds of stub using viewanimator classes.
Comments
Post a Comment