Skip to content

Commit

Permalink
introduced 'new' icon, introduced gradle debug flavour with different…
Browse files Browse the repository at this point in the history
… id, icon and name, fixed some strings
  • Loading branch information
alsd4git committed Apr 22, 2020
1 parent e9df7f0 commit ec7025c
Show file tree
Hide file tree
Showing 69 changed files with 65 additions and 24 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@
4. Run 'app' to install Chanu onto your device
5. ....
6. Profit!

#### App Icon

I used the old one as a base, just added a solid color layer as a background, hope you'll like it, just for reference, the color i used is #00c853 [Green A700](https://material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=00C853), the original logo is trimmed with 75% resize in Android Studio image asset
debug icon has same settings with #69F0AE [Green A200](https://material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=69F0AE) as background instead
8 changes: 8 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ android {
shrinkResources true
proguardFiles 'proguard.cfg'
}
debug {
applicationIdSuffix '.debug'
versionNameSuffix '-DEBUG'
}

}

packagingOptions {
Expand All @@ -57,4 +62,7 @@ dependencies {
implementation 'org.apache.commons:commons-lang3:3.3.1'
implementation 'com.nineoldandroids:library:2.4.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

// debugImplementation because LeakCanary should only run in debug builds.
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.2'
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Bildrahmen"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-en-rGB/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Picture frame"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-es-rUS/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Marco de imagen"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Picture frame"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"गैलरी"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"गैलरी"</string>-->
<string name="gadget_title" msgid="259405922673466798">"चित्र फ़्रेम"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Cornice immagine"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"写真フレーム"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Ramka ze zdjęciem"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-pt-rPT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Moldura da imagem"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Moldura de uma imagem"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-ro/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Chanu"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Chanu"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Ramă foto"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
2 changes: 1 addition & 1 deletion app/libs/gallery/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="1928079047368929634">"Галерея"</string>
<!-- <string name="app_name" msgid="1928079047368929634">"Галерея"</string>-->
<string name="gadget_title" msgid="259405922673466798">"Рамка фотографии"</string>
<string name="details_ms" msgid="940634969189855292">"%1$02d:%2$02d"</string>
<string name="details_hms" msgid="3215779248094151255">"%1$d:%2$02d:%3$02d"</string>
Expand Down
1 change: 0 additions & 1 deletion app/libs/gallery/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>

<resources>
<string name="app_name">Chanu</string>
<string name="gadget_title">Chanu Picture Frame</string>
<string name="details_ms">%1$02d:%2$02d</string>
<string name="details_hms">%1$d:%2$02d:%3$02d</string>
Expand Down
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":98,"versionName":"2.0.28","enabled":true,"outputFile":"com.chanapps.four.activity-2.0.28-2020.04.22.17.33.32-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"com.chanapps.four.activity-2.0.28-2020.04.22.17.33.32-release.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":98,"versionName":"2.0.28","enabled":true,"outputFile":"com.chanapps.four.activity-2.0.28-2020.04.22.18.32.18-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"com.chanapps.four.activity-2.0.28-2020.04.22.18.32.18-release.apk","properties":{}}]
Binary file added app/src/debug/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file added app/src/debug/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/debug/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/debug/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/debug/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/src/debug/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#69F0AE</color>
</resources>
3 changes: 3 additions & 0 deletions app/src/debug/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="app_name" translatable="false">Chanu - Debug</string>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<application
android:name="com.chanapps.four.ChanuApp"
android:hardwareAccelerated="true"
android:icon="@drawable/launcher_icon"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:logo="@drawable/app_icon_actionbar"
android:theme="@style/AppTheme">
Expand Down
Binary file added app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file added app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file added app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file added app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
2 changes: 1 addition & 1 deletion app/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.net-->
<resources>
<string name="app_name">Chanu</string>
<!-- <string name="app_name">Chanu</string>-->
<string name="thread_activity">Wątek</string>
<string name="purchase_menu">Zakup</string>
<string name="board_activity">Tablica</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-pt-rPT/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.net-->
<resources>
<string name="app_name">Chanu</string>
<!-- <string name="app_name">Chanu</string>-->
<string name="thread_activity">Tópico</string>
<string name="purchase_menu">Comprar</string>
<string name="board_activity">Seção</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-pt/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.net-->
<resources>
<string name="app_name">Chanu</string>
<!-- <string name="app_name">Chanu</string>-->
<string name="thread_activity">Tópico</string>
<string name="purchase_menu">Comprar</string>
<string name="board_activity">Seção</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.net-->
<resources>
<string name="app_name">Chanu</string>
<!-- <string name="app_name">Chanu</string>-->
<string name="thread_activity">Тема</string>
<string name="purchase_menu">Покупка</string>
<string name="board_activity">Доска</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
<string name="thread_has_bumplimit">(BL)</string>
<string name="thread_has_imagelimit">(IL)</string>
<string name="board_vg_abbrev">/vg/</string>
<string name="app_name">Chanu</string>
<!-- <string name="app_name">Chanu</string>-->

<dimen name="BlocklistItemHeight">48dp</dimen>

Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#00C853</color>
</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name" translatable="false">Chanu</string>

<!-- titles -->
<string name="thread_activity">Thread</string>
<string name="board_activity">Board</string>
Expand Down
Binary file added original_app_icon.png
Binary file added original_app_icon_with_text.png

0 comments on commit ec7025c

Please sign in to comment.