From 36cc6f87e2325c0f7b98e1037c6a094d71af7429 Mon Sep 17 00:00:00 2001 From: Norbel Ambanumben Date: Mon, 12 Dec 2022 21:38:16 +0100 Subject: [PATCH 01/38] Initial protorype for DW Media Probe --- app/build.gradle | 6 + app/src/dw/README.md | 4 + .../res/drawable/home_toolbar_background.xml | 8 + app/src/dw/res/drawable/ooniprobe_logo.xml | 30 ++ app/src/dw/res/layout/fragment_dashboard.xml | 114 ++++++ app/src/dw/res/values/colors.xml | 4 + app/src/dw/res/values/strings.xml | 5 + app/src/dw/res/xml/preferences_global.xml | 386 ++++++++++++++++++ app/src/dwFull/google-services.json | 39 ++ engine/build.gradle | 4 + 10 files changed, 600 insertions(+) create mode 100644 app/src/dw/README.md create mode 100644 app/src/dw/res/drawable/home_toolbar_background.xml create mode 100644 app/src/dw/res/drawable/ooniprobe_logo.xml create mode 100644 app/src/dw/res/layout/fragment_dashboard.xml create mode 100644 app/src/dw/res/values/colors.xml create mode 100644 app/src/dw/res/values/strings.xml create mode 100644 app/src/dw/res/xml/preferences_global.xml create mode 100644 app/src/dwFull/google-services.json diff --git a/app/build.gradle b/app/build.gradle index 0aa8ff1fe..604cc0a64 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -83,6 +83,12 @@ android { full { dimension 'license' } + dw { + dimension 'testing' + applicationId 'com.dw.ooniprobe' + resValue "string", "APP_NAME", "DW Media Probe" + buildConfigField 'String', 'BASE_SOFTWARE_NAME', '"dw-media-probe-android"' + } } variantFilter { variant -> def names = variant.flavors*.name diff --git a/app/src/dw/README.md b/app/src/dw/README.md new file mode 100644 index 000000000..a282682f0 --- /dev/null +++ b/app/src/dw/README.md @@ -0,0 +1,4 @@ +# Changes required. + +- [] Translation updates +- [] Onboarding override \ No newline at end of file diff --git a/app/src/dw/res/drawable/home_toolbar_background.xml b/app/src/dw/res/drawable/home_toolbar_background.xml new file mode 100644 index 000000000..e495c8d75 --- /dev/null +++ b/app/src/dw/res/drawable/home_toolbar_background.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/app/src/dw/res/drawable/ooniprobe_logo.xml b/app/src/dw/res/drawable/ooniprobe_logo.xml new file mode 100644 index 000000000..3e3e0ca39 --- /dev/null +++ b/app/src/dw/res/drawable/ooniprobe_logo.xml @@ -0,0 +1,30 @@ + + + + + + diff --git a/app/src/dw/res/layout/fragment_dashboard.xml b/app/src/dw/res/layout/fragment_dashboard.xml new file mode 100644 index 000000000..5c395a439 --- /dev/null +++ b/app/src/dw/res/layout/fragment_dashboard.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + +