2015-02-07 12:58:18 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-07-12 20:06:47 +02:00
|
|
|
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"
|
2015-02-07 12:58:18 +01:00
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
2017-03-11 19:49:57 +01:00
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.ControlCenterv2">
|
2015-02-07 12:58:18 +01:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/scrollView"
|
2015-02-07 12:58:18 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentTop="true">
|
2015-02-07 12:58:18 +01:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<GridLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:alignmentMode="alignMargins"
|
|
|
|
android:columnCount="2"
|
|
|
|
android:rowCount="15">
|
2015-02-07 12:58:18 +01:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="0"
|
|
|
|
android:text="Message / Caller"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2015-02-07 12:58:18 +01:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/editContent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="1"
|
|
|
|
android:ems="10"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:text="Test" />
|
2015-02-07 12:58:18 +01:00
|
|
|
|
2016-10-03 20:51:28 +02:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/sendTypeSpinner"
|
|
|
|
android:layout_width="wrap_content"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:layout_row="2"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_columnSpan="2"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:text="send as SMS" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sendButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_columnSpan="2"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="3"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:text="Send" />
|
2015-02-08 23:53:40 +01:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/incomingCallButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="4"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:text="incoming call" />
|
2015-07-08 23:03:34 +02:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/outgoingCallButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="1"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="4"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:text="outgoing call" />
|
2015-07-12 20:06:47 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/startCallButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="5"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:text="start call" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/endCallButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="1"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="5"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:text="end call" />
|
2015-07-12 20:06:47 +02:00
|
|
|
|
|
|
|
<Button
|
2016-06-18 01:26:36 +02:00
|
|
|
android:id="@+id/setTimeButton"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
2016-06-18 01:26:36 +02:00
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="6"
|
2016-06-18 01:26:36 +02:00
|
|
|
android:text="set time" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/setMusicInfoButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="1"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="6"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:text="set music info" />
|
2016-10-03 20:51:28 +02:00
|
|
|
|
2015-12-28 14:38:56 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/HearRateButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:layout_columnSpan="2"
|
2015-12-28 14:38:56 +01:00
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="7"
|
2016-02-27 23:24:45 +01:00
|
|
|
android:text="Heart Rate Test" />
|
2016-10-03 20:51:28 +02:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/rebootButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:layout_columnSpan="2"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="8"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:text="reboot" />
|
|
|
|
|
2016-10-03 20:51:28 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/testNotificationButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
2016-10-11 23:27:56 +02:00
|
|
|
android:layout_row="9"
|
2016-10-03 20:51:28 +02:00
|
|
|
android:text="create test notification" />
|
|
|
|
|
2016-10-11 23:27:56 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/testNewFunctionality"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="10"
|
|
|
|
android:text="Test New Functionality" />
|
2015-07-12 20:06:47 +02:00
|
|
|
</GridLayout>
|
|
|
|
</ScrollView>
|
2015-07-08 23:03:34 +02:00
|
|
|
|
2015-02-07 12:58:18 +01:00
|
|
|
</RelativeLayout>
|