new widget - Switcher

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

new widget - Switcher

Postby pskink » Thu Feb 26, 2009 12:19 pm

hi

updated my http://code.google.com/p/android-misc-widgets project by adding new widget Switcher that is quite similar to Gallery but has animation when setting new view by API, supports both vertical/horizontal orientation and has back/forward buttons to dec/inc current view, see 'Test Switcher' item in main activity.

it's by far undocumented so far and in early stage of development (for example in vertical mode i have to set height in pixels: see layout file), i'd be thankful if someone gave me some tips how to fix it.

as always any comments welcome
Attachments
device.png
sample screenshot
device.png (16.91 KiB) Viewed 270 times
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Top

Postby pskink » Fri Feb 27, 2009 10:22 am

hi,

forgot to specify svn repository location: http://android-misc-widgets.googlecode.com/svn/trunk

have fun
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Postby pskink » Sat Feb 28, 2009 11:15 am

fyi,

added PopupWindows iso 'normal' Buttons to preserve so valuable space in tiny screen

btw does anybody know how Popupwindow animations work? i tried setAnimationStyle() but couldn't get it working... ;(
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Postby pskink » Sat Feb 28, 2009 7:30 pm

fyi,

addednice fade in/out animations for control buttons, however still don't know how to create own custom animations...
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Postby pskink » Sun Mar 01, 2009 2:43 pm

fyi:

added auto dismiss functionality: when Switcher is idle for some tout its control buttons dismiss
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests