Remove unused resources

This commit is contained in:
Patryk Michalik committed 2021-03-18 15:36:31 +01:00
1 parent 734e0f719f
commit e4a250b4f0
10 files changed
+1 -281

No files matched your search

@@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="72dp"
android:gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:text="TextView"
android:textAppearance="?attr/textAppearanceBody1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="16dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<SeekBar
android:id="@+id/seek_bar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:id="@+id/value_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="100"
android:textAppearance="?attr/textAppearanceBody2"
android:textColor="@color/material_on_surface_emphasis_medium" />
</LinearLayout>
</LinearLayout>
@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/top_app_bar"
android:layout_width="match_parent"
android:layout_height="56dp"
app:title="Settings" />
</com.google.android.material.appbar.AppBarLayout>
<FrameLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#00000000"
android:id="@android:id/list_container" />
</LinearLayout>
+1 -5
View File
@@ -1,7 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="PreferenceThemeOverlay.LawnchairTheme.v14.Material" parent="@style/PreferenceThemeOverlay.v14.Material">
<item name="android:layout">@layout/settings_template</item>
</style>
</resources>
<resources></resources>
-1
View File
@@ -24,7 +24,6 @@
<item name="shapeAppearanceLargeComponent">@style/ShapeAppearance.LawnchairTheme.LargeComponent</item>
<item name="toolbarStyle">@style/Widget.MaterialComponents.Toolbar.Surface</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.LawnchairTheme.v14.Material</item>
</style>
<style name="Base.Theme.MaterialThemeBuilder" parent="Theme.MaterialComponents.DayNight.NoActionBar">
-40
View File
@@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:lawnchair="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto">
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:defaultValue="100"
android:key="pref_app_drawer_icon_size"
android:title="Icon Size"
app:showSeekBarValue="true"
lawnchair:snapEvery="10"
lawnchair:minValue="50"
lawnchair:maxValue="150"
lawnchair:asPercentages="true" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:key="pref_app_drawer_grid_width"
android:title="Grid Width"
app:showSeekBarValue="true"
lawnchair:minValue="3"
lawnchair:maxValue="7" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:key="pref_app_drawer_grid_height"
android:title="Grid Height"
app:showSeekBarValue="true"
lawnchair:minValue="4"
lawnchair:maxValue="10" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:defaultValue="100"
android:key="pref_app_drawer_label_size"
android:title="Label Size"
app:showSeekBarValue="true"
lawnchair:minValue="50"
lawnchair:maxValue="150"
lawnchair:snapEvery="10"
lawnchair:asPercentages="true" />
</PreferenceScreen>
-33
View File
@@ -1,33 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:lawnchair="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto">
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:defaultValue="100"
android:key="pref_dock_icon_size"
android:title="Icon Size"
app:showSeekBarValue="true"
lawnchair:minValue="50"
lawnchair:maxValue="150"
lawnchair:snapEvery="10"
lawnchair:asPercentages="true" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:key="pref_dock_icon_count"
android:title="Icon Count"
app:showSeekBarValue="true"
lawnchair:minValue="3"
lawnchair:maxValue="7" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:defaultValue="100"
android:key="pref_dock_label_size"
android:title="Label Size"
app:showSeekBarValue="true"
lawnchair:snapEvery="10"
lawnchair:minValue="50"
lawnchair:maxValue="150"
lawnchair:asPercentages="true" />
</PreferenceScreen>
-21
View File
@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.launcher3.settings.NotificationDotsPreference
android:key="pref_icon_badging"
android:persistent="false"
android:title="@string/notification_dots_title"
android:widgetLayout="@layout/notification_pref_warning">
<intent android:action="android.settings.NOTIFICATION_SETTINGS">
<extra
android:name=":settings:fragment_args_key"
android:value="notification_badging" />
</intent>
</com.android.launcher3.settings.NotificationDotsPreference>
<Preference android:title="Icon Pack">
<intent android:action="ch.deletescape.lawnchair.settings.activities.IconPackSettingsActivity" />
</Preference>
</androidx.preference.PreferenceScreen>
@@ -1,61 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:lawnchair="http://schemas.android.com/apk/res-auto">
<SwitchPreference
android:key="pref_add_icon_to_home"
android:title="@string/auto_add_shortcuts_label"
android:summary="@string/auto_add_shortcuts_description"
android:defaultValue="true"
android:persistent="true" />
<SwitchPreference
android:key="pref_allowRotation"
android:title="@string/allow_rotation_title"
android:summary="@string/allow_rotation_desc"
android:defaultValue="@bool/allow_rotation"
android:persistent="true" />
<SwitchPreference
android:key="pref_grid_options"
android:title="Enable grid options"
android:defaultValue="false"
android:persistent="true" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:defaultValue="100"
android:key="pref_home_screen_icon_size"
android:title="Icon Size"
app:showSeekBarValue="true"
lawnchair:minValue="50"
lawnchair:maxValue="150"
lawnchair:snapEvery="10"
lawnchair:asPercentages="true" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:key="pref_home_screen_grid_width"
android:title="Grid Width"
app:showSeekBarValue="true"
lawnchair:minValue="3"
lawnchair:maxValue="7" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:key="pref_home_screen_grid_height"
android:title="Grid Height"
app:showSeekBarValue="true"
lawnchair:minValue="4"
lawnchair:maxValue="10" />
<ch.deletescape.lawnchair.settings.ui.preferences.CustomSeekBarPreference
android:defaultValue="100"
android:key="pref_home_screen_label_size"
android:title="Label Size"
app:showSeekBarValue="true"
lawnchair:minValue="50"
lawnchair:maxValue="150"
lawnchair:snapEvery="10"
lawnchair:asPercentages="true" />
</androidx.preference.PreferenceScreen>
-33
View File
@@ -1,33 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<Preference
android:title="General"
android:summary="Notification Dots, Icon Pack"
android:icon="@drawable/ic_general"
android:fragment="ch.deletescape.lawnchair.settings.fragments.GeneralSettingsFragment" />
<Preference
android:title="Home Screen"
android:summary="Rotation, Grid Options"
android:icon="@drawable/ic_home_screen"
android:fragment="ch.deletescape.lawnchair.settings.fragments.HomeScreenSettingsFragment" />
<Preference
android:title="Dock"
android:summary="Icon Size, Grid Size"
android:icon="@drawable/ic_dock"
android:fragment="ch.deletescape.lawnchair.settings.fragments.DockSettingsFragment" />
<Preference
android:title="App Drawer"
android:summary="Icon Size, Grid Size"
android:icon="@drawable/ic_app_drawer"
android:fragment="ch.deletescape.lawnchair.settings.fragments.AppDrawerSettingsFragment" />
<Preference android:title="Open Compose Settings">
<intent android:action="ch.deletescape.lawnchair.compose.ui.preferences.PreferenceActivity" />
</Preference>
</androidx.preference.PreferenceScreen>