mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-12 18:11:57 +01:00
95 lines
3.7 KiB
XML
95 lines
3.7 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/textView"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||
|
android:text="Message / Caller"/>
|
||
|
<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_below="@+id/textView"
|
||
|
android:text="Test" />
|
||
|
<Button
|
||
|
android:id="@+id/sendSMSButton"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="send as SMS"
|
||
|
android:layout_below="@+id/editContent"
|
||
|
android:layout_alignParentStart="true"
|
||
|
android:layout_alignEnd="@+id/incomingCallButton" />
|
||
|
<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" />
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="set time"
|
||
|
android:id="@+id/setTimeButton"
|
||
|
android:layout_above="@+id/testNotificationButton"
|
||
|
android:layout_alignParentEnd="true"
|
||
|
android:layout_alignParentStart="true" />
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="incoming call"
|
||
|
android:id="@+id/incomingCallButton"
|
||
|
android:layout_below="@+id/sendSMSButton"
|
||
|
android:layout_alignParentStart="true" />
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="outgoing call"
|
||
|
android:id="@+id/outgoingCallButton"
|
||
|
android:layout_alignTop="@+id/incomingCallButton"
|
||
|
android:layout_alignEnd="@+id/setTimeButton"
|
||
|
android:layout_toEndOf="@+id/incomingCallButton" />
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="send as E-Mail"
|
||
|
android:id="@+id/sendEmailButton"
|
||
|
android:layout_below="@+id/editContent"
|
||
|
android:layout_alignStart="@+id/outgoingCallButton"
|
||
|
android:layout_alignParentEnd="true" />
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="start call"
|
||
|
android:id="@+id/startCallButton"
|
||
|
android:layout_below="@+id/incomingCallButton"
|
||
|
android:layout_alignParentStart="true"
|
||
|
android:layout_toStartOf="@+id/outgoingCallButton" />
|
||
|
|
||
|
<Button
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="end call"
|
||
|
android:id="@+id/endCallButton"
|
||
|
android:layout_below="@+id/outgoingCallButton"
|
||
|
android:layout_alignEnd="@+id/outgoingCallButton"
|
||
|
android:layout_toEndOf="@+id/incomingCallButton" />
|
||
|
|
||
|
</RelativeLayout>
|