Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luhmer <david-dev@live.de>2022-07-07 20:11:36 +0300
committerGitHub <noreply@github.com>2022-07-07 20:11:36 +0300
commit692f4e85d1091750d5aea5c6a37eecc616d89ba2 (patch)
tree42e7520d72aa3d37c5df1ddf5782b4dd4d451542
parent33f67829423dea6f1fa681575cb202992b95ce98 (diff)
parent9839dc324803601ad4a2c61ef82ace241fd1b210 (diff)
Merge pull request #1101 from salixor/add-monochrome-icon
Add monochrome icon
-rw-r--r--News-Android-App/src/dev/res/drawable/ic_launcher_foreground.xml18
-rw-r--r--News-Android-App/src/dev/res/drawable/ic_launcher_foreground_full.xml25
-rw-r--r--News-Android-App/src/main/res/drawable/ic_launcher_foreground.xml17
-rw-r--r--News-Android-App/src/main/res/drawable/ic_launcher_foreground_full.xml9
-rw-r--r--News-Android-App/src/main/res/layout/empty_content_view.xml4
-rw-r--r--News-Android-App/src/main/res/layout/fragment_newsreader_list.xml4
-rw-r--r--News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher.xml1
-rw-r--r--News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml1
8 files changed, 19 insertions, 60 deletions
diff --git a/News-Android-App/src/dev/res/drawable/ic_launcher_foreground.xml b/News-Android-App/src/dev/res/drawable/ic_launcher_foreground.xml
index 145a5c17..776853a6 100644
--- a/News-Android-App/src/dev/res/drawable/ic_launcher_foreground.xml
+++ b/News-Android-App/src/dev/res/drawable/ic_launcher_foreground.xml
@@ -5,19 +5,11 @@
android:viewportWidth="872.78925"
android:viewportHeight="872.78925">
<group
- android:translateX="21.81973"
- android:translateY="21.81973">
- <group
- android:translateX="20.728745"
- android:translateY="20.728745">
- <group
- android:translateX="137.84616"
- android:translateY="137.84616">
- <path
- android:fillColor="#ffffff"
- android:pathData="M100.929,89C94.32,89 89,94.32 89,100.929v23.857c0,6.608 5.32,11.929 11.929,11.929h310.143c6.608,0 11.929,-5.32 11.929,-11.929L423,100.929C423,94.32 417.68,89 411.071,89L100.929,89zM100.929,184.429C94.32,184.429 89,189.749 89,196.357v23.857c0,6.608 5.32,11.929 11.929,11.929h214.714c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,184.429zM100.929,279.857C94.32,279.857 89,285.177 89,291.786v23.857c0,6.608 5.32,11.929 11.929,11.929h286.286c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,279.857zM100.929,375.286C94.32,375.286 89,380.606 89,387.214v23.857C89,417.68 94.32,423 100.929,423L244.071,423C250.68,423 256,417.68 256,411.071v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,375.286z" />
- </group>
- </group>
+ android:translateX="180.394635"
+ android:translateY="180.394635">
+ <path
+ android:fillColor="#ffffff"
+ android:pathData="M100.929,89C94.32,89 89,94.32 89,100.929v23.857c0,6.608 5.32,11.929 11.929,11.929h310.143c6.608,0 11.929,-5.32 11.929,-11.929L423,100.929C423,94.32 417.68,89 411.071,89L100.929,89zM100.929,184.429C94.32,184.429 89,189.749 89,196.357v23.857c0,6.608 5.32,11.929 11.929,11.929h214.714c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,184.429zM100.929,279.857C94.32,279.857 89,285.177 89,291.786v23.857c0,6.608 5.32,11.929 11.929,11.929h286.286c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,279.857zM100.929,375.286C94.32,375.286 89,380.606 89,387.214v23.857C89,417.68 94.32,423 100.929,423L244.071,423C250.68,423 256,417.68 256,411.071v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,375.286z" />
</group>
<group
android:scaleX="2.6"
diff --git a/News-Android-App/src/dev/res/drawable/ic_launcher_foreground_full.xml b/News-Android-App/src/dev/res/drawable/ic_launcher_foreground_full.xml
deleted file mode 100644
index 9e2db528..00000000
--- a/News-Android-App/src/dev/res/drawable/ic_launcher_foreground_full.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="108dp"
- android:height="108dp"
- android:viewportWidth="512"
- android:viewportHeight="512">
- <path
- android:fillColor="#ffffff"
- android:pathData="M100.929,89C94.32,89 89,94.32 89,100.929v23.857c0,6.608 5.32,11.929 11.929,11.929h310.143c6.608,0 11.929,-5.32 11.929,-11.929L423,100.929C423,94.32 417.68,89 411.071,89L100.929,89zM100.929,184.429C94.32,184.429 89,189.749 89,196.357v23.857c0,6.608 5.32,11.929 11.929,11.929h214.714c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,184.429zM100.929,279.857C94.32,279.857 89,285.177 89,291.786v23.857c0,6.608 5.32,11.929 11.929,11.929h286.286c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,279.857zM100.929,375.286C94.32,375.286 89,380.606 89,387.214v23.857C89,417.68 94.32,423 100.929,423L244.071,423C250.68,423 256,417.68 256,411.071v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,375.286z" />
- <group
- android:scaleX="2.6"
- android:scaleY="3"
- android:translateX="440"
- android:translateY="520">
- <path
- android:fillColor="#ffffff"
- android:pathData="M11.908125 40h11.4c4.44 0 7.24 -1.04 9.2 -3.4 2.32 -2.72 3.56 -6.68 3.56 -11.2 0 -4.48 -1.24 -8.44 -3.56 -11.2 -1.96 -2.36 -4.72 -3.36 -9.2 -3.36h-11.4zm6 -5V15.84h5.4c4.52 0 6.76 3.16 6.76 9.6 0 6.4 -2.24 9.56 -6.76 9.56z" />
- <path
- android:fillColor="#ffffff"
- android:pathData="M46.894375 27.44h13.96v-5h-13.96v-6.6h15.08v-5h-21.08V40h21.8v-5h-15.8z" />
- <path
- android:fillColor="#ffffff"
- android:pathData="M80.333125 40l10 -29.16h-6.04l-6.36 21.96 -6.48 -21.96h-6.04l9.84 29.16z" />
- </group>
-</vector>
diff --git a/News-Android-App/src/main/res/drawable/ic_launcher_foreground.xml b/News-Android-App/src/main/res/drawable/ic_launcher_foreground.xml
index 00fd4564..31b05771 100644
--- a/News-Android-App/src/main/res/drawable/ic_launcher_foreground.xml
+++ b/News-Android-App/src/main/res/drawable/ic_launcher_foreground.xml
@@ -3,16 +3,11 @@
android:height="108dp"
android:viewportWidth="872.78925"
android:viewportHeight="872.78925">
- <group android:translateX="21.81973"
- android:translateY="21.81973">
- <group android:translateX="20.728745"
- android:translateY="20.728745">
- <group android:translateX="137.84616"
- android:translateY="137.84616">
- <path
- android:pathData="M100.929,89C94.32,89 89,94.32 89,100.929v23.857c0,6.608 5.32,11.929 11.929,11.929h310.143c6.608,0 11.929,-5.32 11.929,-11.929L423,100.929C423,94.32 417.68,89 411.071,89L100.929,89zM100.929,184.429C94.32,184.429 89,189.749 89,196.357v23.857c0,6.608 5.32,11.929 11.929,11.929h214.714c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,184.429zM100.929,279.857C94.32,279.857 89,285.177 89,291.786v23.857c0,6.608 5.32,11.929 11.929,11.929h286.286c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,279.857zM100.929,375.286C94.32,375.286 89,380.606 89,387.214v23.857C89,417.68 94.32,423 100.929,423L244.071,423C250.68,423 256,417.68 256,411.071v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,375.286z"
- android:fillColor="#ffffff"/>
- </group>
- </group>
+ <group
+ android:translateX="180.394635"
+ android:translateY="180.394635">
+ <path
+ android:pathData="M100.929,89C94.32,89 89,94.32 89,100.929v23.857c0,6.608 5.32,11.929 11.929,11.929h310.143c6.608,0 11.929,-5.32 11.929,-11.929L423,100.929C423,94.32 417.68,89 411.071,89L100.929,89zM100.929,184.429C94.32,184.429 89,189.749 89,196.357v23.857c0,6.608 5.32,11.929 11.929,11.929h214.714c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,184.429zM100.929,279.857C94.32,279.857 89,285.177 89,291.786v23.857c0,6.608 5.32,11.929 11.929,11.929h286.286c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,279.857zM100.929,375.286C94.32,375.286 89,380.606 89,387.214v23.857C89,417.68 94.32,423 100.929,423L244.071,423C250.68,423 256,417.68 256,411.071v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,375.286z"
+ android:fillColor="#ffffff"/>
</group>
</vector>
diff --git a/News-Android-App/src/main/res/drawable/ic_launcher_foreground_full.xml b/News-Android-App/src/main/res/drawable/ic_launcher_foreground_full.xml
deleted file mode 100644
index 12266854..00000000
--- a/News-Android-App/src/main/res/drawable/ic_launcher_foreground_full.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="108dp"
- android:height="108dp"
- android:viewportWidth="512"
- android:viewportHeight="512">
- <path
- android:fillColor="#ffffff"
- android:pathData="M100.929,89C94.32,89 89,94.32 89,100.929v23.857c0,6.608 5.32,11.929 11.929,11.929h310.143c6.608,0 11.929,-5.32 11.929,-11.929L423,100.929C423,94.32 417.68,89 411.071,89L100.929,89zM100.929,184.429C94.32,184.429 89,189.749 89,196.357v23.857c0,6.608 5.32,11.929 11.929,11.929h214.714c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,184.429zM100.929,279.857C94.32,279.857 89,285.177 89,291.786v23.857c0,6.608 5.32,11.929 11.929,11.929h286.286c6.608,0 11.929,-5.32 11.929,-11.929v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,279.857zM100.929,375.286C94.32,375.286 89,380.606 89,387.214v23.857C89,417.68 94.32,423 100.929,423L244.071,423C250.68,423 256,417.68 256,411.071v-23.857c0,-6.608 -5.32,-11.929 -11.929,-11.929L100.929,375.286z" />
-</vector>
diff --git a/News-Android-App/src/main/res/layout/empty_content_view.xml b/News-Android-App/src/main/res/layout/empty_content_view.xml
index 5f381a46..1206c02d 100644
--- a/News-Android-App/src/main/res/layout/empty_content_view.xml
+++ b/News-Android-App/src/main/res/layout/empty_content_view.xml
@@ -17,7 +17,9 @@
android:layout_above="@+id/title"
android:layout_gravity="center"
android:contentDescription="@null"
- app:srcCompat="@drawable/ic_launcher_foreground_full"
+ android:scaleX="1.7"
+ android:scaleY="1.7"
+ app:srcCompat="@drawable/ic_launcher_foreground"
app:tint="@color/empty_content_view_logo" />
<TextView
diff --git a/News-Android-App/src/main/res/layout/fragment_newsreader_list.xml b/News-Android-App/src/main/res/layout/fragment_newsreader_list.xml
index 07318fe6..7ffff3f6 100644
--- a/News-Android-App/src/main/res/layout/fragment_newsreader_list.xml
+++ b/News-Android-App/src/main/res/layout/fragment_newsreader_list.xml
@@ -38,10 +38,12 @@
android:layout_height="56dp"
android:layout_marginStart="@dimen/spacer_1x"
android:contentDescription="@string/content_desc_tap_to_refresh"
+ android:scaleX="1.7"
+ android:scaleY="1.7"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_launcher_foreground_full" />
+ app:srcCompat="@drawable/ic_launcher_foreground" />
<ProgressBar
android:id="@+id/header_logo_progress"
diff --git a/News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
index bbd3e021..50ec8862 100644
--- a/News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+++ b/News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
+ <monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon> \ No newline at end of file
diff --git a/News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
index bbd3e021..50ec8862 100644
--- a/News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
+++ b/News-Android-App/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
+ <monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon> \ No newline at end of file