xamarin/Xamarin.Forms

[Bug] [Shell] SearchHandler in flow direction rtl

Aperta

#8517 aperta il 15 nov 2019

 (4 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/rtla/shell :shell:e/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

When you use the Xamarin.Forms Shell template and make the flow direction of the page from right to left and use SearchHandler it becomes on the left edge But if you make the page flow direction from left to right (default) there is no problem

Steps to Reproduce

  1. Create a fresh Xamarin.Forms Shell project
  2. Enable support rtl in android and add this line code : Window.DecorView.LayoutDirection = LayoutDirection.rtl; in MainActivity.cs
  3. add SearchHandler

Expected Behavior

The SearchHandler design should remain the same even in (rtl) mode

Actual Behavior

Ruined the design in mode (rtl)

Basic Information

  • Version with issue: 4.4.0.991210-pre2
  • Last known good version:
  • IDE: Visual studio 2019 16.3.9
  • Platform Target Frameworks:
    • Android: 9.0 (Pie)
  • Android Support Library Version: 28.0.0.3

Screenshots

RTL : image LTR (Default) : image

Guida contributor