question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

com.poovam.pinedittextfield.LinePinField not visible when set app language arabic.

See original GitHub issue

I am using below code to enter 4 digit otp code in my android app.

<com.poovam.pinedittextfield.LinePinField
               android:id="@+id/lineField"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:layout_gravity="center_horizontal"
               android:layout_marginTop="20dp"
               android:inputType="number"
               android:textColor="@color/colorBlack"
               android:textSelectHandle="@drawable/text_handle"
               android:textSize="25sp"
               app:distanceInBetween="10dp"
               app:highlightColor="@color/colorBlack"
               app:highlightEnabled="true"
               app:highlightSingleFieldMode="true"


               app:isCursorEnabled="true"
               app:lineThickness="2dp"

               app:noOfFields="4" />

I have also attach image of both case were in English language fields are shown and and when i am trying to change app language to Arabic the fields are gone , not shown to me. How can i overcome from this whatsapp image 2019-02-19 at 3 42 41 pm 1 whatsapp image 2019-02-19 at 3 42 41 pm

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
IslamKhShcommented, Mar 1, 2019

just add android:layoutDirection=“ltr” to your xml and it will work ok

1reaction
Magedsaadcommented, Aug 21, 2020

sorry i had to put android:layoutDirection=“ltr” in SquarePinField it’s done

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application not showing the Arab language stored in local
1.After login stage. 2.On the setting page. Whenever user selects the language ,the app runs on that language(English or Arab). The ...
Read more >
Password Inputs - PinEditTextField - The Android Arsenal
Set custom distance between your line and text Line Pin Field. Keep the keyboard open or closed after the Text is entered. Mask...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found