Simplify ActivityStarter and remove app start animation preference

This commit is contained in:
MM20
2022-01-29 19:15:05 +01:00
parent f5b21e4fe6
commit 189ea7dbb5
29 changed files with 50 additions and 374 deletions
@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
android:focusable="true"
android:foreground="?selectableItemBackground"
android:orientation="horizontal">
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/icon"
android:background="@color/blue"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_gravity="center_vertical"
tools:rawRes="@raw/app_start_anim_fade"/>
<TextView
android:id="@+id/label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:ellipsize="end"
android:paddingStart="4dp"
android:paddingEnd="4dp"
android:layout_gravity="center_vertical"
tools:text="Fade"/>
</LinearLayout>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -56,7 +56,6 @@
app:title="@string/preference_icon_shape" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/preference_category_animations">
<de.mm20.launcher2.ui.preferences.AppStartAnimPreference app:title="@string/preference_app_start_animation" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/preference_category_searchbar">
<ListPreference