From 9e3e9161c1d2acde08e1206b3910ce1a11fb9fac Mon Sep 17 00:00:00 2001 From: MM20 <15646950+MM2-0@users.noreply.github.com> Date: Sun, 5 Dec 2021 20:49:42 +0100 Subject: [PATCH] Add shortcut to ComposeActivity in debug builds --- .../main/res/drawable/ic_experimental_feature.xml | 3 +++ {app => i18n}/src/debug/res/values-de/strings.xml | 1 + {app => i18n}/src/debug/res/values/strings.xml | 1 + ui/src/debug/AndroidManifest.xml | 15 +++++++++++++++ ui/src/debug/res/xml-v25/debug_shortcuts.xml | 13 +++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 base/src/main/res/drawable/ic_experimental_feature.xml rename {app => i18n}/src/debug/res/values-de/strings.xml (52%) rename {app => i18n}/src/debug/res/values/strings.xml (52%) create mode 100644 ui/src/debug/AndroidManifest.xml create mode 100644 ui/src/debug/res/xml-v25/debug_shortcuts.xml diff --git a/base/src/main/res/drawable/ic_experimental_feature.xml b/base/src/main/res/drawable/ic_experimental_feature.xml new file mode 100644 index 00000000..e5250a01 --- /dev/null +++ b/base/src/main/res/drawable/ic_experimental_feature.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/app/src/debug/res/values-de/strings.xml b/i18n/src/debug/res/values-de/strings.xml similarity index 52% rename from app/src/debug/res/values-de/strings.xml rename to i18n/src/debug/res/values-de/strings.xml index e5a39862..1a1c5506 100644 --- a/app/src/debug/res/values-de/strings.xml +++ b/i18n/src/debug/res/values-de/strings.xml @@ -1,3 +1,4 @@ Kvæsitso Debug + Compose Activity diff --git a/app/src/debug/res/values/strings.xml b/i18n/src/debug/res/values/strings.xml similarity index 52% rename from app/src/debug/res/values/strings.xml rename to i18n/src/debug/res/values/strings.xml index e5a39862..1a1c5506 100644 --- a/app/src/debug/res/values/strings.xml +++ b/i18n/src/debug/res/values/strings.xml @@ -1,3 +1,4 @@ Kvæsitso Debug + Compose Activity diff --git a/ui/src/debug/AndroidManifest.xml b/ui/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..e72f1516 --- /dev/null +++ b/ui/src/debug/AndroidManifest.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + diff --git a/ui/src/debug/res/xml-v25/debug_shortcuts.xml b/ui/src/debug/res/xml-v25/debug_shortcuts.xml new file mode 100644 index 00000000..035328ba --- /dev/null +++ b/ui/src/debug/res/xml-v25/debug_shortcuts.xml @@ -0,0 +1,13 @@ + + + + +