hbb20 / hbb20/CountryCodePickerProject

Question about RTL support

未关闭
#435 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
1.5k
派生
509
PR 合并指标
30 天内没有已合并 PR

描述

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 [________ملحوظة]`.

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 未提供可供检查的 repository file、test 或 entry point。首先明确预期的 RTL phone-layout 行为和实现范围;完成该事项需要一项经确认的解决方案,以在 RTL 中保留可用的 prefix 和 phone number 呈现。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java
领域
design, internationalization, mobile
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。