bherrmann7 / Car-Cast

Car Cast is a simple Android podcast downloader and player. Optimized for use in a daily commute, it features big buttons, large text, remembers last played location. FOR MORE INFO ---> http://jadn.com/cc/
http://jadn.com/cc/
57 stars 30 forks source link

add orientation preference: Auto/Landscape/Portrait #63

Closed bherrmann7 closed 12 years ago

bherrmann7 commented 12 years ago

Some users dont like the screen rotating on them. Add a "orientation" preference.


Because I like to keep all other applications auto rotating but in my opinion it is no use to rotate carcast buttons interface.

The cons is interface inconsistency on a slow smartphone. Often when I am handling the phone, (putting the phone close to my ear or getting into the car or laying down on bed) the accelerometer senses a tilt and rotates. The app immediately remaps touch sensitive areas to new button positions, but the graphical redraw is slow hence for a couple of seconds I still see the old button layout. So when I press where I can see the "start button" this often activates the "record note" function or other unwanted behaviors happen.

daniel@fastoffice.it

bherrmann7 commented 12 years ago

This might be a simple as calling

  http://developer.android.com/reference/android/app/Activity.html#setRequestedOrientation(int)

in the onCreate (if a preference is set.)

bherrmann7 commented 12 years ago

This seemed pretty straightforward. Please try it and let me know if it works.