Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Make it easier to place the cursor at the end of the text

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
android, java
Ambito
mobile

Direzione di ricerca

Inizia individuando l’editor delle bozze Android e il relativo campo di testo multilinea, quindi esamina come viene posizionato il cursore quando si apre una bozza salvata e come vengono gestiti i tocchi sotto l’ultima riga. Il lavoro è completato quando l’apertura di una bozza posiziona il cursore alla fine e anche un tocco sotto la sua ultima riga lo sposta lì.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When I have a draft saved that is shorter than the screen, such as these three lines of text:

List

First

When I tap that draft in the list to start editing it, the cursor is placed at the beginning of the text, like |List. But almost always I want to add something at the end. I think the cursor should be placed at the end by default when the draft is opened, like First|.

As a second, related request, when the cursor is not at the end, I think tapping below the last line of a draft should move the cursor to the end of the text. Currently, tapping below the last line does nothing. That is, when I touch here in this text-based mockup of my screen:

← Create New Draft   Save ⋮
---
|List

First


⚞TOUCH⚟

---
[keyboard]

Currently, the cursor doesn’t move. But I want the cursor to move to the end, like this:

← Create New Draft   Save ⋮
---
List

First|




---
[keyboard]

I’m not sure how Android’s UI system works, but if it’s like the web, it might be possible to achieve that by styling the multi-line text field to always take the full visible height of the screen, minus the height of the toolbar. Another way to say it is that the toolbar should have a defined height and the text field should fill the remainder of the screen.

Lingua principale
Java
Stelle
4
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fadelakin/drafts

Tutte le issue di fadelakin/drafts

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.