I created one shape for all activities but I don't know how make responsive for dark mode. How can I do this?
this is my shape:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:topLeftRadius="25dp" android:topRightRadius="25dp" />
<solid android:color="@color/white"/>
</shape>
You make your own color resource (instead of using color/white), and define it to different values in light mode and dark modet