Xamarin.Forms
Xamarin.Forms copied to clipboard
[Bug] The Native control height issue if we add on vertical layout
Description
The simple linear layout was added in a horizontal and vertical orientation, the default control height was vary based on the code.
Steps to Reproduce
- Run the sample CustomControl.zip
- See the control element color
- We distributed the height properly, but the unwanted space was shown
Expected Behavior
The control height is small and doesn't show the unwanted spaces
Actual Behavior
The control default size was big
Basic Information
- Version with issue: used Xamarin Version 5.0.0.2012
- Last known good version:
- Platform Target Frameworks:
- Android: 9
- Android Support Library / AndroidX Version:
- NuGet Packages:
- Affected Devices: All devices
Environment
Show/Hide Visual Studio info
=== Visual Studio Community 2019 for Mac ===
Version 8.10.5 (build 16)
Installation UUID: 8e1c88f0-e12e-4b21-a391-a95d1f33223b
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)
Package version: 612000140
=== Mono Framework MDK ===
Runtime:
Mono 6.12.0.140 (2020-02/51d876a041e) (64-bit)
Package version: 612000140
=== Xamarin Designer ===
Version: 16.10.0.119
Hash: 36a2d986f
Branch: remotes/origin/d16-10
Build date: 2021-06-02 19:41:34 UTC
=== Roslyn (Language Service) ===
3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb
=== NuGet ===
Version: 5.9.0.7134
=== .NET Core SDK ===
SDK: /usr/local/share/dotnet/sdk/5.0.301/Sdks
SDK Versions:
5.0.301
5.0.203
5.0.202
5.0.201
5.0.103
5.0.101
3.1.410
3.1.409
3.1.408
3.1.407
3.1.406
3.1.404
3.1.402
3.1.401
3.1.302
3.1.200
3.1.102
3.1.101
3.1.100
3.0.101
3.0.100
2.2.300
2.2.107
2.1.505
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks
=== .NET Core Runtime ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.1
3.1.16
3.1.15
3.1.14
3.1.13
3.1.12
3.1.10
3.1.8
3.1.7
3.1.6
3.1.2
3.1.1
3.1.0
3.0.1
3.0.0
2.2.5
2.2.4
2.1.23
2.1.22
2.1.21
2.1.20
2.1.16
2.1.15
2.1.14
2.1.13
2.1.9
=== .NET Core 3.1 SDK ===
SDK: 3.1.410
=== Xamarin.Profiler ===
Version: 1.6.12.26
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Xamarin.Android ===
Version: 11.3.0.4 (Visual Studio Community)
Commit: xamarin-android/d16-10/ae14caf
Android SDK: /Users/syncfusion/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
8.0 (API level 26)
8.1 (API level 27)
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 31.0.2
SDK Build Tools Version: 30.0.2
Build Information:
Mono: b4a3858
Java.Interop: xamarin/java.interop/d16-10@f39db25
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.35.4@85460d3
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-10@c5732a0
=== Microsoft OpenJDK for Mobile ===
Java SDK: /Users/syncfusion/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android SDK Manager ===
Version: 16.10.0.12
Hash: e240b8c
Branch: remotes/origin/d16-10
Build date: 2021-06-01 18:26:34 UTC
=== Android Device Manager ===
Version: 16.10.0.14
Hash: e340248
Branch: remotes/origin/d16-10
Build date: 2021-06-01 18:26:52 UTC
=== Apple Developer Tools ===
Xcode 12.5 (18205)
Build 12E262
=== Xamarin.Mac ===
Version: 7.14.0.24 (Visual Studio Community)
Hash: c4b89cddb
Branch: d16-10
Build date: 2021-06-15 22:03:00-0400
=== Xamarin.iOS ===
Version: 14.20.0.24 (Visual Studio Community)
Hash: c4b89cddb
Branch: d16-10
Build date: 2021-06-15 22:03:01-0400
=== Build Information ===
Release ID: 810050016
Git revision: d6bd382154950cedf91ffdf19704a7c61888a3b4
Build date: 2021-07-02 06:38:37-04
Build branch: release-8.10
=== Operating System ===
Mac OS X 10.16.0
Darwin 20.4.0 Darwin Kernel Version 20.4.0
Thu Apr 22 21:46:47 PDT 2021
root:xnu-7195.101.2~1/RELEASE_X86_64 x86_64
Screenshots
Reproduction Link
https://github.com/xamarin/Xamarin.Forms/files/6877589/CustomControl.zip
Workaround
Any update on this?
Any updates on this?
Any update on this ?
Please update on this issue ASAP @jsuarezruiz
Any updates on this?
Please provide any updates on its progress.
please give high priority to this issue and fix ASAP