hbb20 / hbb20/CountryCodePickerProject

Question about RTL support

Open
#435 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
509
PR merge metrics
No merged PRs in 30d

Description

I'm using the awesome library. I want to add support to RTL languages. I have the following layout:
```

```
I'm using CountryCodePickerProject in my project (awesome library). It allows to set a phone number prefix to the number. I wrote the following layout:

It basically creates the following display:

> [icon] [Country Prefix] [Phone number box to fill]

In LTR language it looks great. But when I change the language of the phone to RTL it displays:

> [Phone number box to fill] [Country Prefix] [icon]

It looks strange because the prefix should be on the left side of the phone number (even in RTL). Speaking of UI/UX thinking, what would be the best solution here to display RTL so it won't look awkward? Maybe force it to be on the left side? But then you will have something like: `+11 [________ملحوظة]`.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides no repository file, test, or entry point to inspect. First clarify the intended RTL phone-layout behavior and implementation scope; done would require an agreed solution that preserves usable prefix and phone-number presentation in RTL.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
design, internationalization, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.