[SOLVED] Android XML: "conflicts with another tag that has the same ID"

Issue I recently deleted a fragment including its layout and viewmodel from my project. (FragmentAddFlight, VmAddFlight, fragment_add_flight.xml) Surprisingly I am getting these errors: [databinding] {“msg”:”\u003cImageView id\u003d\[email protected]+id/imageView2\u0027\u003e conflicts with another tag that has the same ID”,”file”:”C:\\Users\\Christoph\\Documents\\Android-Projekte\\FlightLogger\\app\\src\\main\\res\\layout\\fragment_add_flight.xml”,”pos”:[{“line0″:277,”col0″:20,”line1″:286,”col1”:85}]} [databinding] {“msg”:”\u003cTextView id\u003d\[email protected]+id/textView4\u0027\u003e conflicts with

Continue reading

[SOLVED] how to set dark theme for Material Dialog android

Issue dialog xml <style name="Theme.MyApp.Dialog.Alert" parent="ThemeOverlay.Material3.MaterialAlertDialog"> <item name="android:textColor">@color/md_theme_light_onBackground</item> <item name="android:background">@color/md_theme_light_background</item> the missing attribute is the inner items color how to set it Solution Define dialog in your styles.xml and do whatever modifications required here. <style name="MyDialog" parent="Theme.Material3.Dark.Dialog.Alert"/> And then in

Continue reading