Changed notification icon and updated library versions
@ -22,9 +22,9 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
compile 'com.android.support:appcompat-v7:23.0.1'
|
compile 'com.android.support:appcompat-v7:23.1.0'
|
||||||
compile 'com.android.support:support-v4:23.0.1'
|
compile 'com.android.support:support-v4:23.1.0'
|
||||||
compile 'com.android.support:design:23.0.1'
|
compile 'com.android.support:design:23.1.0'
|
||||||
|
|
||||||
compile 'ch.dissem.jabit:jabit-domain:0.2.1-SNAPSHOT'
|
compile 'ch.dissem.jabit:jabit-domain:0.2.1-SNAPSHOT'
|
||||||
compile 'ch.dissem.jabit:jabit-networking:0.2.1-SNAPSHOT'
|
compile 'ch.dissem.jabit:jabit-networking:0.2.1-SNAPSHOT'
|
||||||
|
@ -24,11 +24,11 @@ public class NetworkNotification extends AbstractNotification {
|
|||||||
|
|
||||||
public NetworkNotification(Context ctx) {
|
public NetworkNotification(Context ctx) {
|
||||||
super(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);
|
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")
|
@SuppressLint("StringFormatMatches")
|
||||||
|
BIN
app/src/main/res/drawable-hdpi-v11/ic_notification_full_node.png
Normal file
After Width: | Height: | Size: 423 B |
BIN
app/src/main/res/drawable-hdpi/ic_notification_full_node.png
Normal file
After Width: | Height: | Size: 391 B |
BIN
app/src/main/res/drawable-mdpi-v11/ic_notification_full_node.png
Normal file
After Width: | Height: | Size: 291 B |
BIN
app/src/main/res/drawable-mdpi/ic_notification_full_node.png
Normal file
After Width: | Height: | Size: 317 B |
After Width: | Height: | Size: 584 B |
BIN
app/src/main/res/drawable-xhdpi/ic_notification_full_node.png
Normal file
After Width: | Height: | Size: 562 B |
After Width: | Height: | Size: 976 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_notification_full_node.png
Normal file
After Width: | Height: | Size: 699 B |