From 911f3855f184ecdb1339c1d8383ea19e86fe918e Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 27 Sep 2013 22:57:30 +0200 Subject: Implement changing log level on the fly in the log window, still needs some UI design love --HG-- extra : rebase_source : 207343cea3b74cd07ebdf00f8ef443465d12c966 --- res/layout/logwindow.xml | 81 +++++++++++++++++++++++++++++++++++++++++------- res/menu/logmenu.xml | 55 ++++++++++++++++---------------- 2 files changed, 98 insertions(+), 38 deletions(-) (limited to 'res') diff --git a/res/layout/logwindow.xml b/res/layout/logwindow.xml index 57ab5cb9..d7281346 100644 --- a/res/layout/logwindow.xml +++ b/res/layout/logwindow.xml @@ -1,18 +1,75 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + - + android:layout_height="fill_parent"/> + \ No newline at end of file diff --git a/res/menu/logmenu.xml b/res/menu/logmenu.xml index 1c0551ed..d59dcf6f 100644 --- a/res/menu/logmenu.xml +++ b/res/menu/logmenu.xml @@ -1,35 +1,38 @@ - + + + android:id="@+id/toggle_time" + android:alphabeticShortcut="t" + android:icon="@drawable/ic_clock" + android:showAsAction="withText|ifRoom" + android:title="@string/toggle_timestamps"/> + + android:id="@+id/clearlog" + android:icon="@drawable/ic_menu_trash_holo_light" + android:showAsAction="ifRoom|withText" + android:title="@string/clear_log" + android:titleCondensed="@string/clear"/> + android:id="@+id/send" + android:icon="@android:drawable/ic_menu_share" + android:showAsAction="ifRoom|withText" + android:title="@string/send_logfile" + android:titleCondensed="@string/send"/> + + android:id="@+id/cancel" + android:icon="@android:drawable/ic_menu_close_clear_cancel" + android:showAsAction="ifRoom|withText" + android:title="@string/cancel_connection_long" + android:titleCondensed="@string/cancel_connection"/> + android:id="@+id/edit_vpn" + android:alphabeticShortcut="e" + android:icon="@android:drawable/ic_menu_edit" + android:showAsAction="withText|ifRoom" + android:title="@string/edit_vpn"/> \ No newline at end of file -- cgit v1.2.3