--- /dev/null
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ tools:context=".MainActivity" >
+
+ <Switch
+ android:id="@+id/logSwitch"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:layout_marginBottom="146dp" />
+
+ <EditText
+ android:id="@+id/fileText"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@+id/logSwitch"
+ android:layout_alignBottom="@+id/logSwitch"
+ android:layout_toRightOf="@+id/TextView1"
+ android:ems="10"
+ android:width="150dp" >
+
+ <requestFocus />
+
+ </EditText>
+
+ <TextView
+ android:id="@+id/textView2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@+id/xvlSwitch"
+ android:layout_alignBottom="@+id/xvlSwitch"
+ android:layout_alignLeft="@+id/TextView1"
+ android:text="Xively Upload"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <TextView
+ android:id="@+id/textView3"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignLeft="@+id/textView2"
+ android:layout_alignTop="@+id/evtSwitch"
+ android:text="Event Generation"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <Switch
+ android:id="@+id/evtSwitch"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/xvlSwitch"
+ android:layout_marginTop="23dp"
+ android:layout_toLeftOf="@+id/TextView1" />
+
+ <Switch
+ android:id="@+id/xvlSwitch"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/fileText"
+ android:layout_marginTop="26dp"
+ android:layout_toLeftOf="@+id/TextView1" />
+
+ <Button
+ android:id="@+id/evtBttn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@+id/textView3"
+ android:layout_alignBottom="@+id/textView3"
+ android:layout_alignRight="@+id/xvlBttn"
+ android:text="Config" />
+
+ <Button
+ android:id="@+id/xvlBttn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@+id/textView2"
+ android:layout_alignBottom="@+id/textView2"
+ android:layout_toRightOf="@+id/fileText"
+ android:text="Config" />
+
+ <TextView
+ android:id="@+id/TextView1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/xvlSwitch"
+ android:layout_marginLeft="23dp"
+ android:layout_toRightOf="@+id/logSwitch"
+ android:text="Logging into File"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <Button
+ android:id="@+id/startBttn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignLeft="@+id/logSwitch"
+ android:layout_alignRight="@+id/fileBttn"
+ android:text="Start" />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
+ android:layout_alignTop="@+id/startBttn"
+ android:layout_toRightOf="@+id/evtBttn"
+ android:paddingLeft="10dp" >
+
+ <TextView
+ android:id="@+id/dataStream1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="10.42"
+ android:lines="26"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:width="210dp" />
+
+ <TextView
+ android:id="@+id/dataStream2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="10.42"
+ android:lines="26"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:width="210dp" />
+
+ </LinearLayout>
+
+ <Button
+ android:id="@+id/fileBttn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignLeft="@+id/xvlBttn"
+ android:layout_alignTop="@+id/fileText"
+ android:text="Config" />
+
+</RelativeLayout>