From f2f076c29c379c3288aacf403189fb945b0463b7 Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Thu, 10 Jul 2014 12:34:31 -0400 Subject: [PATCH] fixes for layout and notification data be sure to only get the IP of the last hop (that is the exit) --- res/layout/layout_notification_expanded.xml | 63 +++++----- .../android/service/TorService.java | 117 +++++++----------- 2 files changed, 79 insertions(+), 101 deletions(-) diff --git a/res/layout/layout_notification_expanded.xml b/res/layout/layout_notification_expanded.xml index c038cc87..b61d6fe4 100644 --- a/res/layout/layout_notification_expanded.xml +++ b/res/layout/layout_notification_expanded.xml @@ -18,9 +18,7 @@ xmlns:internal="http://schemas.android.com/apk/prv/res/android" android:id="@+id/status_bar_latest_event_content" android:layout_width="match_parent" - android:layout_height="128dp" - internal:layout_minHeight="128dp" - internal:layout_maxHeight="128dp" + android:layout_height="wrap_content" > + android:textStyle="bold" + android:textAppearance="@style/NotificationTitle" + /> - - -