xamarin/Xamarin.Forms

[Bug] [Shell] SearchHandler in flow direction rtl

开放

#8,517 创建于 2019年11月15日

 (4 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/rtla/shell :shell:e/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南