ankidroid / ankidroid/Anki-Android

[Tablet] Reconsider design of Note Editor Previewer

Abierto
#21,010 2 comentarios 4 reacciones 1 asignado Reclamado por @sanjaysargam Ver en GitHub
2.24 Help Wanted Priority-High
Lenguaje dominante
Kotlin
Estrellas
11.8k
Forks
2.9k
Merge medio
2 d 3 h
PR fusionados (30 d)
171

Descripción

* Ref: https://github.com/ankidroid/Anki-Android/pull/18724
* Ref: https://github.com/ankidroid/Anki-Android/pull/19988

2.24 introduced a split pane preview to the note editor. It also moved from `layout-xlarge` to `layout-sw600dp`.

A number of users have requested that a toggle is added: https://forums.ankiweb.net/t/uncomfortable-using-new-split-screen-in-editor/69656 (comments split across Discord, Play Store and Reddit).

By far the most convincing argument is by `phannan`:

> I appreciate all the hard work that went into doing the tabs, and unfortunately, it isn’t helpful for me. Especially in the edit screen, the old version works a lot better for me. I am lower vision, so everything is blown up. Losing a part of the screen makes both sides unusable. (See attached) Yes, I can flip to portrait mode, but then I lose half the card top to bottom. I’d appreciate having the option to turn this off, especially in the edit screen.
>
> Image

-- https://forums.ankiweb.net/t/uncomfortable-using-new-split-screen-in-editor/69656/3?u=david

----

I would propose tackling this in 2 phases:

**2.24.X**
* Evaluate and reconsider `sw600dp` with real world examples
* Very likely: move from `sw` (smallest side width) to `w` (current width), and select a larger value
* Determine a justified value for foldables
* Potentially revert to `sw720dp` (roughly `layout-xlarge`)

**2.25.0** (expedited release for this change)
* Add a setting to Note Editor toggling the sidebar (and enabling the preview icon)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.