Skip to content

Commit

Permalink
Changed minSdk to 21 (#18)
Browse files Browse the repository at this point in the history
* Bug fix for issue #13

* Downgraded minSdk from 23 to 21

* Remove the raw fix of #13 MainActivity.kt

* Removed the last newline in MainActivity
  • Loading branch information
KitsuneFolk committed May 25, 2023
1 parent 7cbe4c5 commit c2d0e4d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions app/src/main/res/drawable/chat_ripple_bg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?colorControlHighlight">
<item>
<color android:color="?colorSurface" />
</item>
</ripple>
3 changes: 1 addition & 2 deletions app/src/main/res/layout/item_chat.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:foreground="?selectableItemBackground"
android:background="?colorSurface">
android:background="@drawable/chat_ripple_bg">

<ImageView
android:layout_width="50dp"
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/com/fragula2/gradle/Gradle.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.fragula2.gradle
object Gradle {

object Build {
const val minSdk = 23
const val minSdk = 21
const val targetSdk = 33
const val compileSdk = 33
const val buildTools = "33.0.2"
Expand Down

0 comments on commit c2d0e4d

Please sign in to comment.