fornewid / neumorphism

Try to Neumorphism in Android (Just experimental!! 🧪)
https://medium.com/@fornewid/neumorphism-in-android-9cf15e2122dc
Apache License 2.0
977 stars 159 forks source link

Button problem #118

Open aDarkRider opened 1 year ago

aDarkRider commented 1 year ago

I'm trying to use the latest version in my app. I'm trying to create a simple button in the dark theme of my application but the shadows around the button are still white. How can I create a dark theme Neumorph Button. I have tried applying the style. Below is my code: <soup.neumorphism.NeumorphButton android:id="@+id/get_started" android:layout_width="wrap_content" style="@style/Widget.Neumorph.Button" android:layout_height="wrap_content" android:fontFamily="@font/poppins_regular" android:text="Get Started" android:textColor="@color/white" app:neumorph_shapeType="flat" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" />

Screenshot_20231022_225315