diff options
author | Sean Leonard <meanderingcode@aetherislands.net> | 2013-07-10 18:26:31 -0600 |
---|---|---|
committer | Sean Leonard <meanderingcode@aetherislands.net> | 2013-07-19 15:10:47 -0600 |
commit | f9131ce775b180cee3fa8ec1ac52290a7f58d1ef (patch) | |
tree | 172d704367c6d74b6d99bb251abe4c3e40c19a24 /res/layout | |
parent | 437183f283e61da878aded001fb78e8e62aa9da6 (diff) |
Refactor EIP UI and control logic out of Dashboard into a Fragment
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/client_dashboard.xml | 11 | ||||
-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 |