summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-07-10 18:26:31 -0600
committerSean Leonard <meanderingcode@aetherislands.net>2013-07-19 15:10:47 -0600
commitf9131ce775b180cee3fa8ec1ac52290a7f58d1ef (patch)
tree172d704367c6d74b6d99bb251abe4c3e40c19a24 /res
parent437183f283e61da878aded001fb78e8e62aa9da6 (diff)
Refactor EIP UI and control logic out of Dashboard into a Fragment
Diffstat (limited to 'res')
-rw-r--r--res/layout/client_dashboard.xml11
-rw-r--r--res/layout/eip_service_fragment.xml (renamed from res/layout/eip_overview.xml)6
2 files changed, 3 insertions, 14 deletions
diff --git a/res/layout/client_dashboard.xml b/res/layout/client_dashboard.xml
index 9d9b7a40..9f05cfbc 100644
--- a/res/layout/client_dashboard.xml
+++ b/res/layout/client_dashboard.xml
@@ -65,15 +65,6 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.11"
- android:orientation="vertical" >
-
- <ViewStub
- android:id="@+id/eipOverviewStub"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inflatedId="@+id/eipOverview"
- android:layout="@layout/eip_overview" />
-
- </LinearLayout>
+ android:orientation="vertical" />
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/eip_overview.xml b/res/layout/eip_service_fragment.xml
index 738c82ef..8f7c1d22 100644
--- a/res/layout/eip_overview.xml
+++ b/res/layout/eip_service_fragment.xml
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/eipServiceFragment"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_marginTop="10dp" >
<TextView
@@ -12,7 +13,6 @@
android:layout_alignParentTop="true"
android:layout_marginLeft="10dp"
android:clickable="true"
- android:onClick="toggleEipOverview"
android:text="@string/eip_service_label"
android:textAppearance="?android:attr/textAppearanceLarge" />
@@ -67,10 +67,8 @@
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:clickable="true"
- android:onClick="showEIPLog"
android:text="@string/eip_status" />
</RelativeLayout>
-
</RelativeLayout> \ No newline at end of file