apache / apache/cordova-plugin-inappbrowser

Navigation buttons in android devices with RTL Locale didn't appear

Open
#431 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

## Problem
If your android device locale is set to RTL (a.k.a: Right to left direction e.g.: arabic, hebrew, kurdish, persian languages), then the navigation buttons didn't appear, and the navigation buttons conflict with address bar or closebuttoncaption.

Illustrative image:
![rtl](https://user-images.githubusercontent.com/47486787/53189568-7f9ec900-3610-11e9-8b26-3f346485bc5a.jpg)

### What is expected to happen?
The navigation buttons in inappbrowser for android devices that using RTL locale should appear correctly same as ios devices, without conflict the address bar or closebuttoncaption.

### What does actually happen?
The navigation buttons not set in their position correctly when the android device locale is RTL, and also, it distort the toolbar.

## Information

Just open inappbrowser in any android devices that using RTL locales.
Please note that this only happened on android devices that using RTL locales.

### Command or Code

Nothing, just open inappbrowser in any android devices that using RTL locales.

### Environment, Platform, Device

Latest android version, device: Samsung Galaxy note 9
Please note : I also check on different android devices and same problem.

### Version information

cordova-plugin-inappbrowser master version.

## Checklist

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Start by opening the Android InAppBrowser on a device or emulator configured with an RTL locale, then inspect the toolbar and navigation-button entry points. Compare the Android layout with the expected iOS positioning; done means the navigation buttons appear in the correct position without overlapping the address bar or closebuttoncaption and the toolbar is not distorted.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.