Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] AppThemeBinding is override by theme in ListView #14301

Open
Chozarajan opened this issue May 27, 2021 · 0 comments
Open

[Bug] AppThemeBinding is override by theme in ListView #14301

Chozarajan opened this issue May 27, 2021 · 0 comments
Labels
a/binding ⛓ a/listview Problems with the ListView/TableView t/bug 🐛
Projects

Comments

@Chozarajan
Copy link

Description

We have applied the custom theme to the app. If we use the AppThemeBinding in sample level the color was only shown for first item and all other items shown in theme color.

Steps to Reproduce

  1. Run the attached sample in Xamarin Forms Android [Sample attached in this issue]
  2. See the First Item is in AppThemeBinding color
  3. Then all other items in theme color

Expected Behavior

All ListView items will show in AppThemeBinding color

Actual Behavior

The First item shown in one color and other items shown in another color in ListView

Basic Information

  • Version with issue: Xamarin Forms 5.0.0.2012
  • Last known good version: Issue in all versions
  • Platform Target Frameworks:
    • iOS: 14.5
    • Android: 9
    • UWP: Not checked
  • Android Support Library / AndroidX Version:
  • NuGet Packages: only Xamarin Forms
  • Affected Devices: all devices issue came

Environment

Show/Hide Visual Studio info
=== Visual Studio Community 2019 for Mac ===

Version 8.9.9 (build 3)
Installation UUID: 9adbb9ce-6597-4c7a-983b-d906d9c8a9c3
	GTK+ 2.24.23 (Raleigh theme)
	Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)

	Package version: 612000125

=== Mono Framework MDK ===

Runtime:
	Mono 6.12.0.125 (2020-02/8c552e98bd6) (64-bit)
	Package version: 612000125

=== Roslyn (Language Service) ===

3.9.0-6.21152.10+c10f884b30737542ddd84ca889a4aad9281ce210

=== NuGet ===

Version: 5.8.0.6860

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/5.0.203/Sdks
SDK Versions:
	5.0.203
	5.0.202
	5.0.201
	5.0.103
	5.0.101
	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.6
	5.0.5
	5.0.4
	5.0.3
	5.0.1
	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.409

=== Xamarin.Profiler ===

Version: 1.6.12.26
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Updater ===

Version: 11

=== Xamarin Designer ===

Version: 16.9.0.324
Hash: b1e216c75
Branch: remotes/origin/d16-9
Build date: 2021-04-16 00:02:50 UTC

=== Apple Developer Tools ===

Xcode 12.5 (18205)
Build 12E262

=== Xamarin.Mac ===

Version: 7.10.0.5 (Visual Studio Community)
Hash: ab40b131d
Branch: xcode12.5
Build date: 2021-04-22 08:56:41-0400

=== Xamarin.iOS ===

Version: 14.16.0.5 (Visual Studio Community)
Hash: ab40b131d
Branch: xcode12.5
Build date: 2021-04-22 08:56:42-0400

=== Xamarin.Android ===

Version: 11.2.2.1 (Visual Studio Community)
Commit: xamarin-android/d16-9/877f572
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: 5e9cb6d
Java.Interop: xamarin/java.interop/d16-9@54f8c24
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.34.1@daff8f4
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-9@d210f11

=== 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.9.0.22
Hash: a391de2
Branch: remotes/origin/dev/bretjohn/readme-tweak~3
Build date: 2021-04-21 21:23:40 UTC

=== Android Device Manager ===

Version: 16.9.0.17
Hash: fc2b3db
Branch: remotes/origin/dev/jmt/d16-9bump~1
Build date: 2021-04-21 21:23:58 UTC

=== Build Information ===

Release ID: 809090003
Git revision: 163d834aa64ba9129e5ef30e49a947ef67bcd809
Build date: 2021-05-06 10:14:43-04
Build branch: release-8.9
Xamarin extensions: 163d834aa64ba9129e5ef30e49a947ef67bcd809

=== 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


Build Logs

Screenshots

AppThemeBindingIssue

Reproduction Link

ThemeIssueInListView.zip

Workaround

No workaround found

@Chozarajan Chozarajan added s/unverified New report that has yet to be verified t/bug 🐛 labels May 27, 2021
@jsuarezruiz jsuarezruiz added the a/listview Problems with the ListView/TableView label Jun 1, 2021
@jsuarezruiz jsuarezruiz added this to New in Triage via automation Jun 1, 2021
@jsuarezruiz jsuarezruiz added a/bindablelayout a/binding ⛓ and removed a/bindablelayout s/unverified New report that has yet to be verified labels Jun 18, 2021
@jsuarezruiz jsuarezruiz moved this from New to Needs Estimate in Triage Jun 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/binding ⛓ a/listview Problems with the ListView/TableView t/bug 🐛
Projects
Triage
  
Needs Estimate
Development

No branches or pull requests

2 participants