Deactivate Landscape mode on all but the reviewing screen?

60 views
Skip to first unread message

nobnago

unread,
Dec 22, 2010, 9:46:36 AM12/22/10
to AnkiDroid
Hi all,

there are a lot of problems with screen rotating, e.g. on syncing, on
showing dialogs on the study options screen and others.
Most screens are anyway hardly usable in landscape mode, especially if
they contain listviews.

So maybe we should think about deactivating landscape mode at all and
only use it on reviewing cards?

What do you think?

Nob

Nicolas Raoul

unread,
Dec 22, 2010, 10:23:19 AM12/22/10
to anki-a...@googlegroups.com
Good idea.
We have a kind of deadline with the algorithm change, so forcing
portrait would allow us to reach stability faster.
Of course, re-enabling free orientation would be a longer-term goal
for a subsequent release.

I asked the question here:
http://stackoverflow.com/questions/4510526

Cheers!
Nicolas Raoul

> --
> You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
> To post to this group, send an email to anki-a...@googlegroups.com.
> To unsubscribe from this group, send email to anki-android...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/anki-android?hl=en-GB.
>
>

nobnago

unread,
Dec 22, 2010, 11:01:58 AM12/22/10
to AnkiDroid
They answer pretty quick there... The tenor seems to be what our idea
was.

I would propose to leave the reviewing screen turnable. There are no
glitches (at least to my knowledge) and it's the only screen which
really benefits from landscape mode, particularly with special card
templates.

Diogo V. kersting

unread,
Dec 22, 2010, 11:35:31 AM12/22/10
to anki-a...@googlegroups.com
Editing card and Adding Card would also benefit because of the keyboard use.

Typing even in the virtual keyboard in landscape is much more confortable than typing in portrait mode.

There is one area that might be unforgivable.

If a user interacts a lot with your app using a virtual keyboard, you should be vary of one thing:

There are emerging Android phones with a sliding physical keyboard that's meant to be used only in landscape mode. An example of such a device is a HTC G1.

Otherwise, having a portrait mode only application that runs well and isn't buggy is more than acceptable.




--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To post to this group, send an email to anki-a...@googlegroups.com.
To unsubscribe from this group, send email to anki-android...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/anki-android?hl=en-GB.




--
----------------------
Diogo V. Kersting - Epidemus LTDA
Desenvolvedor do BRLix

nobnago

unread,
Dec 23, 2010, 3:39:13 AM12/23/10
to AnkiDroid
I tried to prevent execution of onCreate() on orientation change:
android:configChanges="keyboardHidden|orientation"

It works very well, I can't produce any of the glitches. So for now I
would say we don't have to force portrait mode. But we should test all
the orientation issues again.

On Dec 22, 5:35 pm, "Diogo V. kersting" <k...@brlix.com> wrote:
> Editing card and Adding Card would also benefit because of the keyboard use.
>
> Typing even in the virtual keyboard in landscape is much more confortable
> than typing in portrait mode.
>
> by James.Elsey <http://stackoverflow.com/users/155695/james-elsey> athttp://stackoverflow.com/questions/4510526:
>
>
>
> >  There is one area that might be unforgivable.
>
> > If a user interacts a lot with your app using a virtual keyboard, you
> > should be vary of one thing:
>
> > There are emerging Android phones with a sliding physical keyboard that's
> > meant to be used only in landscape mode. An example of such a device is a HTC
> > G1<http://www.google.com/images?hl=en&q=htc+g1&um=1&ie=UTF-8&source=univ...>
> > .
>
> > Otherwise, having a portrait mode only application that runs well and isn't
> > buggy is more than acceptable.
>
> On Wed, Dec 22, 2010 at 2:01 PM, nobnago <norbertnag...@gmail.com> wrote:
> > They answer pretty quick there... The tenor seems to be what our idea
> > was.
>
> > I would propose to leave the reviewing screen turnable. There are no
> > glitches (at least to my knowledge) and it's the only screen which
> > really benefits from landscape mode, particularly with special card
> > templates.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "AnkiDroid" group.
> > To post to this group, send an email to anki-a...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > anki-android...@googlegroups.com<anki-android%2Bunsu...@googlegroups.com>
> > .

nobnago

unread,
Dec 23, 2010, 4:39:00 AM12/23/10
to AnkiDroid
quick update on this: because StudyOptions needs a different layout in
landscape mode, I deactivated orientation changes.
We have to find a way to load a new layout and assigning all contents
to the old values.
Reply all
Reply to author
Forward
0 new messages