mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 02:21:14 +01:00
55 lines
2.3 KiB
XML
55 lines
2.3 KiB
XML
|
<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" />
|
||
|
</RelativeLayout>
|