LuckSiege / LuckSiege/PictureSelector

fragment_preview.xml中ps_tv_selected控件的相对位置使用了layout_constraintRight_toLeftOf , 导致国际化从右到左排列时, 布局异常, 选中按钮显示不全

Open
#2,820 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## Current use version?
#### 当前使用的版本是多少?

```
最新版
```

## Will this problem occur in demo?
#### Demo能否复现这问题?

```
可以
```

## Describe the problem or provide an error log?
#### 描述问题或提供错误log?

```
ps_fragment_preview.xml中ps_tv_selected空间的相对位置使用了layout_constraintRight_toLeftOf 导致国际化从右到左排列时, 布局异常,选中按钮显示不全。建议换成layout_constraintEnd_toStartOf

```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect ps_fragment_preview.xml, also referred to as fragment_preview.xml in the title, and locate the ps_tv_selected constraint. Update the relative positioning for right-to-left layouts, then verify the demo in an RTL locale and confirm that the selected button is fully visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
localization, mobile
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.