Satyam SR
01/15/2025, 9:26 AMAndroidView
. When I render the preview within the library, it works as expected.
However, when I add this library as a remote dependency and preview the composable, the UI is displayed differently. Specifically:
• The expected behavior shows a clickable "Text" element.
• The unexpected behavior displays a filled button with a colored background.
Any suggestions to resolve this issue?Sagar yadav
01/15/2025, 2:28 PMSatyam SR
01/15/2025, 2:28 PMSagar yadav
01/15/2025, 2:31 PMSagar yadav
01/15/2025, 2:40 PMChrimaeon
01/15/2025, 5:12 PMSatyam SR
01/16/2025, 8:11 AM<selector xmlns:android="<http://schemas.android.com/apk/res/android>">
<item android:color="?colorBgDisabled" android:state_enabled="false" />
<item android:color="?colorMainPrimaryBold" android:state_pressed="true" />
<item android:color="?colorMainPrimary" />
</selector>
Satyam SR
01/16/2025, 8:12 AM