From d21e8390e90437f0d053374f8e304ca3f592beb9 Mon Sep 17 00:00:00 2001 From: Sean Leonard Date: Wed, 30 Jan 2013 23:37:33 -0700 Subject: More fun with EIP item entry. Added parts to expand listing for quick info and settings access --- res/layout/eip_overview.xml | 33 +++++++++++++++++++++++++++++++++ res/values/strings.xml | 2 ++ src/se/leap/leapclient/Dashboard.java | 5 +++++ 3 files changed, 40 insertions(+) diff --git a/res/layout/eip_overview.xml b/res/layout/eip_overview.xml index d8defcbc..21d4ae38 100644 --- a/res/layout/eip_overview.xml +++ b/res/layout/eip_overview.xml @@ -13,6 +13,8 @@ android:layout_marginBottom="10dp" android:layout_marginLeft="15dp" android:layout_toLeftOf="@+id/eipSwitch" + android:clickable="false" + android:onClick="toggleOverview" android:text="@string/eip_type_active" android:textAppearance="?android:attr/textAppearanceLarge" /> @@ -24,4 +26,35 @@ android:layout_alignParentTop="true" android:layout_marginRight="10dp" /> + + + + + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index f18c9920..09252355 100755 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -257,6 +257,8 @@ LEAP Dashboard Provider: No provider configured + Access EIP connection settings + Status unknown EIP \ No newline at end of file diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java index 5835acb8..7d0b5e0f 100644 --- a/src/se/leap/leapclient/Dashboard.java +++ b/src/se/leap/leapclient/Dashboard.java @@ -163,4 +163,9 @@ public class Dashboard extends Activity { } + @SuppressWarnings("unused") + private void toggleOverview() { + // TODO Expand the one line overview item to show some details + } + } -- cgit v1.2.3