From 99dfdd711d5be21b308dd2b2da748c91347362c3 Mon Sep 17 00:00:00 2001 From: Amogh Pradeep Date: Thu, 29 May 2014 04:56:06 +0530 Subject: [PATCH] added styles to build the custom notification, minor tweaks to old code --- res/layout/layout_notification_expanded.xml | 8 +++++--- res/values/styles.xml | 5 +++++ .../torproject/android/service/TorService.java | 17 ++++++++--------- 3 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 res/values/styles.xml diff --git a/res/layout/layout_notification_expanded.xml b/res/layout/layout_notification_expanded.xml index 8bf0a9de..3eceb5e9 100644 --- a/res/layout/layout_notification_expanded.xml +++ b/res/layout/layout_notification_expanded.xml @@ -12,7 +12,7 @@ android:id="@+id/img" android:layout_height="64dp" android:layout_width="64dp" - android:src="@drawable/torerror"/> + android:src="@drawable/tor"/> + android:text="Orbot" + style="@style/NotificationTitle"/> + android:layout_height="wrap_content" + style="@style/NotificationText"/>