From 27a57afdc9f84b9bc43e3dcf9f6b629185929082 Mon Sep 17 00:00:00 2001 From: "abdelkader.sellami" Date: Thu, 29 Aug 2019 12:56:34 +0000 Subject: [PATCH] Add About layout and rearrange the settings --- AndroidManifest-common.xml | 2 +- AndroidManifest.xml | 2 +- go/AndroidManifest.xml | 2 +- quickstep/AndroidManifest.xml | 2 +- res/drawable-v26/ic_launcher_home.xml | 29 +++++--------- res/drawable/add_icons.xml | 10 +++++ res/drawable/app_info.xml | 10 +++++ res/drawable/homescreen_rotation.xml | 10 +++++ res/drawable/ic_launcher_home.xml | 26 +++++-------- res/drawable/icon_shape.xml | 10 +++++ res/drawable/notifications_dots.xml | 10 +++++ res/values/strings.xml | 20 ++++++++++ res/xml/launcher_preferences.xml | 56 +++++++++++++++++++++++++++ 13 files changed, 148 insertions(+), 41 deletions(-) create mode 100644 res/drawable/add_icons.xml create mode 100644 res/drawable/app_info.xml create mode 100644 res/drawable/homescreen_rotation.xml create mode 100644 res/drawable/icon_shape.xml create mode 100644 res/drawable/notifications_dots.xml diff --git a/AndroidManifest-common.xml b/AndroidManifest-common.xml index 211e1ff..5a895e7 100644 --- a/AndroidManifest-common.xml +++ b/AndroidManifest-common.xml @@ -50,7 +50,7 @@ android:fullBackupContent="@xml/backupscheme" android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher_home" - android:label="@string/derived_app_name" + android:label="@string/custom_app_name" android:largeHeap="@bool/config_largeHeap" android:restoreAnyVersion="true" android:supportsRtl="true" > diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e62b1cc..33a541a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -55,7 +55,7 @@ android:fullBackupContent="@xml/backupscheme" android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher_home" - android:label="@string/derived_app_name" + android:label="@string/custom_app_name" android:theme="@style/AppTheme" android:largeHeap="@bool/config_largeHeap" android:restoreAnyVersion="true" diff --git a/go/AndroidManifest.xml b/go/AndroidManifest.xml index 0a9ad7b..981a39c 100644 --- a/go/AndroidManifest.xml +++ b/go/AndroidManifest.xml @@ -30,7 +30,7 @@ android:fullBackupContent="@xml/backupscheme" android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher_home" - android:label="@string/derived_app_name" + android:label="@string/custom_app_name" android:theme="@style/AppTheme" android:largeHeap="@bool/config_largeHeap" android:restoreAnyVersion="true" diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml index cb74855..66183a1 100644 --- a/quickstep/AndroidManifest.xml +++ b/quickstep/AndroidManifest.xml @@ -30,7 +30,7 @@ android:fullBackupContent="@xml/backupscheme" android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher_home" - android:label="@string/derived_app_name" + android:label="@string/custom_app_name" android:theme="@style/AppTheme" android:largeHeap="@bool/config_largeHeap" android:restoreAnyVersion="true" diff --git a/res/drawable-v26/ic_launcher_home.xml b/res/drawable-v26/ic_launcher_home.xml index 7038775..d411d86 100644 --- a/res/drawable-v26/ic_launcher_home.xml +++ b/res/drawable-v26/ic_launcher_home.xml @@ -1,21 +1,10 @@ - - - - - - - + + + \ No newline at end of file diff --git a/res/drawable/add_icons.xml b/res/drawable/add_icons.xml new file mode 100644 index 0000000..9b5d387 --- /dev/null +++ b/res/drawable/add_icons.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/res/drawable/app_info.xml b/res/drawable/app_info.xml new file mode 100644 index 0000000..9e7de80 --- /dev/null +++ b/res/drawable/app_info.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/res/drawable/homescreen_rotation.xml b/res/drawable/homescreen_rotation.xml new file mode 100644 index 0000000..93e4445 --- /dev/null +++ b/res/drawable/homescreen_rotation.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_launcher_home.xml b/res/drawable/ic_launcher_home.xml index a6f2519..d411d86 100644 --- a/res/drawable/ic_launcher_home.xml +++ b/res/drawable/ic_launcher_home.xml @@ -1,18 +1,10 @@ - - + + + \ No newline at end of file diff --git a/res/drawable/icon_shape.xml b/res/drawable/icon_shape.xml new file mode 100644 index 0000000..8a1947d --- /dev/null +++ b/res/drawable/icon_shape.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/res/drawable/notifications_dots.xml b/res/drawable/notifications_dots.xml new file mode 100644 index 0000000..4d8de57 --- /dev/null +++ b/res/drawable/notifications_dots.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index dfb7d91..6c2b4e3 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -361,4 +361,24 @@ Loading + + About + AOSP Pure Launcher + Version + 1.0 + Thanks for + - Amir Zaidi (Rootless Launcher)\n- Lawnchair Launcher\n + Build date + 27/08/19 + About this app, version, information + Abdelkader Sellami + Developer Info + Based On + Based On Pure AOSP Launcher3 + + AOSP Pure Launcher + + Github + AOSP Pure Launcher Project Github + diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml index bc2c48b..dd065f5 100644 --- a/res/xml/launcher_preferences.xml +++ b/res/xml/launcher_preferences.xml @@ -26,6 +26,7 @@ @@ -40,6 +41,7 @@ android:key="pref_add_icon_to_home" android:title="@string/auto_add_shortcuts_label" android:summary="@string/auto_add_shortcuts_description" + android:icon="@drawable/add_icons" android:defaultValue="true" android:persistent="true" /> @@ -47,6 +49,7 @@ android:key="pref_allowRotation" android:title="@string/allow_rotation_title" android:summary="@string/allow_rotation_desc" + android:icon="@drawable/homescreen_rotation" android:defaultValue="@bool/allow_rotation" android:persistent="true" /> @@ -57,6 +60,7 @@ android:entries="@array/icon_shape_override_paths_names" android:entryValues="@array/icon_shape_override_paths_values" android:defaultValue="" + android:icon="@drawable/icon_shape" android:persistent="false" /> + + + + + + + + + + + + + + + + + + + + + + +