Android 12 support, update AndroidX libraries (#2367)
* Android 12 support, update AndroidX libraries * fix ktlint * add Android 12 splash screen support * fix comments in MainActivity * remove deprecated Intent.ACTION_CLOSE_SYSTEM_DIALOGS * delete TimelineViewModelTest * fix notifications on Android 12 * improve splash screen * handle pending intent flags in a dedicated function
This commit is contained in:
parent
221cdb3611
commit
55513e8e2b
25 changed files with 260 additions and 488 deletions
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<color android:color="@color/tusky_grey_20"/>
|
||||
</item>
|
||||
<item>
|
||||
<bitmap
|
||||
android:src="@drawable/splash"
|
||||
android:gravity="center" />
|
||||
</item>
|
||||
</layer-list>
|
15
app/src/main/res/drawable/ic_splash.xml
Normal file
15
app/src/main/res/drawable/ic_splash.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_height="240dp"
|
||||
android:layout_width="240dp">
|
||||
|
||||
<item android:drawable="@drawable/ic_launcher_background" />
|
||||
|
||||
<item
|
||||
android:top="40dp"
|
||||
android:bottom="40dp"
|
||||
android:left="40dp"
|
||||
android:right="40dp"
|
||||
android:drawable="@drawable/ic_launcher_foreground" />
|
||||
|
||||
</layer-list>
|
Loading…
Add table
Add a link
Reference in a new issue