From 64e0479a37d7b29b62137c06c58a3d01b0caaa4e Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Sun, 18 Oct 2015 16:42:41 +0200 Subject: [PATCH] Changed notification icon and updated library versions --- app/build.gradle | 6 +++--- .../abit/notification/NetworkNotification.java | 8 ++++---- .../ic_notification_full_node.png | Bin 0 -> 423 bytes .../drawable-hdpi/ic_notification_full_node.png | Bin 0 -> 391 bytes .../ic_notification_full_node.png | Bin 0 -> 291 bytes .../drawable-mdpi/ic_notification_full_node.png | Bin 0 -> 317 bytes .../ic_notification_full_node.png | Bin 0 -> 584 bytes .../drawable-xhdpi/ic_notification_full_node.png | Bin 0 -> 562 bytes .../ic_notification_full_node.png | Bin 0 -> 976 bytes .../drawable-xxhdpi/ic_notification_full_node.png | Bin 0 -> 699 bytes 10 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 app/src/main/res/drawable-hdpi-v11/ic_notification_full_node.png create mode 100644 app/src/main/res/drawable-hdpi/ic_notification_full_node.png create mode 100644 app/src/main/res/drawable-mdpi-v11/ic_notification_full_node.png create mode 100644 app/src/main/res/drawable-mdpi/ic_notification_full_node.png create mode 100644 app/src/main/res/drawable-xhdpi-v11/ic_notification_full_node.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_notification_full_node.png create mode 100644 app/src/main/res/drawable-xxhdpi-v11/ic_notification_full_node.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_notification_full_node.png diff --git a/app/build.gradle b/app/build.gradle index 0e3dcb4..be506a6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,9 +22,9 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:23.0.1' - compile 'com.android.support:support-v4:23.0.1' - compile 'com.android.support:design:23.0.1' + compile 'com.android.support:appcompat-v7:23.1.0' + compile 'com.android.support:support-v4:23.1.0' + compile 'com.android.support:design:23.1.0' compile 'ch.dissem.jabit:jabit-domain:0.2.1-SNAPSHOT' compile 'ch.dissem.jabit:jabit-networking:0.2.1-SNAPSHOT' diff --git a/app/src/main/java/ch/dissem/apps/abit/notification/NetworkNotification.java b/app/src/main/java/ch/dissem/apps/abit/notification/NetworkNotification.java index 7ddb271..b51cc47 100644 --- a/app/src/main/java/ch/dissem/apps/abit/notification/NetworkNotification.java +++ b/app/src/main/java/ch/dissem/apps/abit/notification/NetworkNotification.java @@ -24,11 +24,11 @@ public class NetworkNotification extends AbstractNotification { public NetworkNotification(Context ctx) { super(ctx); - builder = new NotificationCompat.Builder(ctx); - builder.setSmallIcon(R.drawable.ic_notification_new_message) - .setContentTitle(ctx.getString(R.string.bitmessage_active)); - builder.setVisibility(NotificationCompat.VISIBILITY_PUBLIC); bmc = Singleton.getBitmessageContext(ctx); + builder = new NotificationCompat.Builder(ctx); + builder.setSmallIcon(R.drawable.ic_notification_full_node) + .setContentTitle(ctx.getString(R.string.bitmessage_active)) + .setVisibility(NotificationCompat.VISIBILITY_PUBLIC); } @SuppressLint("StringFormatMatches") diff --git a/app/src/main/res/drawable-hdpi-v11/ic_notification_full_node.png b/app/src/main/res/drawable-hdpi-v11/ic_notification_full_node.png new file mode 100644 index 0000000000000000000000000000000000000000..337fc0404b7647452e5ba6b720d466933046efed GIT binary patch literal 423 zcmV;Y0a*TtP)W9ilDCGOgGV@v@EPq!zDSxL(Xc zo?7tPT1wPoRIQiG8vdrBoTDRZnHDVJ2Hzst$lW*=walJ+Fs;b7IQ;KSF`z-sOhu#{ z`TO@MU=B?|g+_2K%tbDTXY9%&rCOo26xK|bd|>0(k)U>ytvp~-FXRckInWEeS}s)7 z3*A~SRMrcfS}ydc7n)Yv&{hh1p)QY8D{RBGv`i17?Y5YkoW^AisB$mQ#a4^$1KZU@q7UvFy>Jd?QbkBgxG@cd6Fb= zzV8dyb%o^5k35s;UO) z>ll%5!!TUfwk_Ha_wls0RS@1q%zKK3N<&>yH^uKQ~QN^g+B`*9>lTUj}H`oEe5O z1w|i(NzLFg>dOG#nK0b=Hk@XC7~p<~&6@<1Jzdvlpy-O4rsgko3f3D6 l)4qwSszdpslaTmNcn1ovAN9_7+*beq002ovPDHLkV1l3RucQC~ literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-mdpi-v11/ic_notification_full_node.png b/app/src/main/res/drawable-mdpi-v11/ic_notification_full_node.png new file mode 100644 index 0000000000000000000000000000000000000000..074a2acbab3ea5e7e8b8b3e2a0d9c1afcb6ec32f GIT binary patch literal 291 zcmV+;0o?wHP)!fI47>s2<_%IL~6UuaU pKpYIjp(NlSAU3B;F+K{Y3IIqoOQx*0F#7-i002ovPDHLkV1gDtat{Ci literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-mdpi/ic_notification_full_node.png b/app/src/main/res/drawable-mdpi/ic_notification_full_node.png new file mode 100644 index 0000000000000000000000000000000000000000..02890154438263739941e580fa861ebc388c20ff GIT binary patch literal 317 zcmV-D0mA-?P)X1^@s6IQ*`u00035NklEzCXJ;o-803=4lP811W)INI{0u<9 zJtkH&G6q=+G-M6~&{;n^Iy(N7gMo&8U;vtSmRtjXdf$T#2x)I`|4$AE8Zs9gkgct) z*==oYpMm&433wkc{16EXXc|AzAa|h2q4+RRV@OL&i^>20{~1R!{9pk9XLEoAr+3aC P00000NkvXXu0mjfw+4as literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xhdpi-v11/ic_notification_full_node.png b/app/src/main/res/drawable-xhdpi-v11/ic_notification_full_node.png new file mode 100644 index 0000000000000000000000000000000000000000..1d59a55d4ddcbbe07c7ea8892afda0c416554dc4 GIT binary patch literal 584 zcmV-O0=NB%P)8wG%zwz!7#O2C@6?K^)Cq82uUj!twazLv5jUSA}H9Rjp#zqqI8w++o%w_ z5?qLiD+?u1(L#)=MjbtV54*3^_EBkS;HL^s zUYi<-1gL>UQv-(qYGB{gz-oXRh?p7}4^RVprUst+a1)D{1ycj}Wd;dCdgIOidW8NL zfPJ7U(J{%ehx30r=`-%c*N#iZGB_@AE2o%>I|~`sL%)o(Q6EgB`c-xUk5hTM$-@&& zV;u*wTYK@Ac7_vq$zMcAQdd5~dqM-c@Lo>iW?iJuhd#<$Y{4U69R}Oj*x1c*lgmkKR{_$V%2bS3@=u9{6r;pY8*Ke&h+H`(M52;ByR zLLjzXwxB2_S@lI1NgaPj5=kQX%Hvv?4?gDJ+?n~lIp@qw3`0XhLqkJD<9~x?Sx>Xs z>^k&kGMQc49q7&H^K0^LXu^ohrqk&V?Vn^asbaBM7v(p;{}yAkGXoP=NssANyy8%uZP3orr+;Z{g63o zQbX5@ld~nns}!1Q=eu8Vq0GbF(JRFfo}klL3E3b-dl`vD4oT@dNvrItUh#3lU6PJI zpKmB^nUJECnkci_148PeA_nSq86XNj4IVz&WdQz=2sk_*&nZ-+CfXH)>vNKqk2V-+kb<}8 zmk&eNp240ev3vem-JOBUy07*qoM6N<$g4OE) Ag#Z8m literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xxhdpi-v11/ic_notification_full_node.png b/app/src/main/res/drawable-xxhdpi-v11/ic_notification_full_node.png new file mode 100644 index 0000000000000000000000000000000000000000..9b736bfbc9a79b9db4edf8551b2937648969c568 GIT binary patch literal 976 zcmV;>126oEP)|CKQ&1j1km*bYvB``|VB40=E}_yC&t*-@|=ECORdMmicZ7R(0~;5fJm z9?^t0@B{RMe$WSgf=+(+5V4j zRTX4|ri0a73B6|cB%$~TtN{5zG$zb&x=eE;v`2TS@Z12X^tDLVhqP6HEk8Snzo*sl=aivj}@(NH)j=yFm@O%dqM<{?S)Z zIbt=E)EHnAx6%XP5_kq$Xim>C*Ey+5iqczbNiy6vM{0|FPzuh0M)pg7mb4{bz;ck| zwn1~i7WPnnH|AgM1ch#zvj$vX(HAkn(^*;hZdJsEG^fP`S1)Li%#+H%0x&J5yu^eo zU$TiqtRSn8zoC)++I|{Uz%n2+8G~{eTAcw6t3*a65*6#f%w!B&$)2Xqq^BY@NhX!m zoIHevvZYrsc5ToraGvAfoJ0(g*u3Jis@QEwDme&dBx2AG@YvWV=>qmjO7w3c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