Skip to content

Commit

Permalink
Removed material-ripple lib
Browse files Browse the repository at this point in the history
  • Loading branch information
antonyhaman committed Apr 17, 2020
1 parent b391600 commit 2b6fe48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ dependencies {
// Sliding panel
implementation 'com.sothree.slidinguppanel:library:3.3.1'

//TODO: Remove when min sdk >= 21
// Ripple for SDK 14+
implementation 'com.balysv:material-ripple:1.0.2'

// Joda
implementation 'joda-time:joda-time:2.10.1'

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
</style>

<style name="Alert.Button.Positive" parent="Widget.MaterialComponents.Button.TextButton">
<item name="backgroundTint">@color/transparent</item>
<item name="backgroundTint">@drawable/ripple</item>
<item name="android:textColor">@color/colorAccent</item>
<item name="android:textSize">16sp</item>
<item name="android:textAllCaps">false</item>
<item name="android:textStyle">bold</item>
</style>

<style name="Alert.Button.Neutral" parent="Widget.MaterialComponents.Button.TextButton">
<item name="backgroundTint">@color/transparent</item>
<item name="background">@drawable/ripple</item>
<item name="android:textColor">@color/colorAccent</item>
<item name="android:textSize">16sp</item>
<item name="android:textAllCaps">false</item>
Expand Down

0 comments on commit 2b6fe48

Please sign in to comment.