Skip to content

Commit

Permalink
Android 12 settings were made.
Browse files Browse the repository at this point in the history
  • Loading branch information
halilozel1903 committed Jun 25, 2022
1 parent 1784e48 commit 73e9880
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
9 changes: 4 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 28
compileSdkVersion 32

defaultConfig {
applicationId "cuneyt.example.com.gifview"
minSdkVersion 15
targetSdkVersion 28
targetSdkVersion 32
versionCode 1
versionName "1.0"
}
Expand All @@ -25,8 +25,7 @@ repositories {
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.material:material:1.6.1'
implementation project(':library')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
7 changes: 4 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cuneyt.example.com.gifview" >
package="cuneyt.example.com.gifview">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme" >
android:theme="@style/AppTheme">
<activity
android:name=".Activities.MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar" >
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 28
compileSdkVersion 32

defaultConfig {
minSdkVersion 15
targetSdkVersion 28
targetSdkVersion 32
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ constructor(

@SuppressLint("NewApi")
private fun setViewAttributes(context: Context, attrs: AttributeSet?, defStyle: Int) {
setLayerType(View.LAYER_TYPE_SOFTWARE, null)
setLayerType(LAYER_TYPE_SOFTWARE, null)

val array = context.obtainStyledAttributes(
attrs,
Expand Down

0 comments on commit 73e9880

Please sign in to comment.