2015-01-07 14:00:18 +01:00
|
|
|
<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:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.ControlCenter">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:text="From:" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editTitle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/label"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="textEmailAddress" />
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:layout_below="@+id/editTitle"
|
|
|
|
android:text="Message"/>
|
|
|
|
<EditText
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:ems="10"
|
|
|
|
android:id="@+id/editContent"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignRight="@+id/editTitle"
|
|
|
|
android:layout_alignEnd="@+id/editTitle"
|
|
|
|
android:layout_below="@+id/textView" />
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sendButton"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Send to Pebble"
|
|
|
|
android:layout_above="@+id/testNotificationButton"
|
|
|
|
android:layout_alignParentStart="true" />
|
|
|
|
<Button
|
|
|
|
android:id="@+id/testNotificationButton"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Create test Notification"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentStart="true" />
|
2015-01-12 00:35:15 +01:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="start Service"
|
|
|
|
android:id="@+id/startServiceButton"
|
|
|
|
android:layout_above="@+id/sendButton"
|
|
|
|
android:layout_alignEnd="@+id/sendButton"
|
|
|
|
android:layout_alignParentStart="true" />
|
2015-01-07 14:00:18 +01:00
|
|
|
</RelativeLayout>
|