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"
|
2015-08-03 23:09:49 +02:00
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.ControlCenter">
|
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"
|
2015-12-08 23:42:58 +01:00
|
|
|
android:columnCount="3"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:rowCount="15"
|
|
|
|
android:alignmentMode="alignMargins">
|
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
|
|
|
<Button
|
|
|
|
android:id="@+id/sendSMSButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="2"
|
|
|
|
android:text="send as SMS" />
|
2015-02-07 12:58:18 +01:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/sendEmailButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="1"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="2"
|
2015-12-08 23:42:58 +01:00
|
|
|
android:text="send as E-Mail"
|
|
|
|
android:layout_columnSpan="2" />
|
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
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/testNotificationButton"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
2015-12-08 23:42:58 +01:00
|
|
|
android:layout_columnSpan="3"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="9"
|
|
|
|
android:text="create test notification" />
|
2015-02-08 23:53:40 +01:00
|
|
|
|
2015-07-12 20:06:47 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/setTimeButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
2015-12-08 23:42:58 +01:00
|
|
|
android:layout_columnSpan="3"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="8"
|
|
|
|
android:text="set time" />
|
2015-05-17 21:58:08 +02: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"
|
|
|
|
android:layout_row="3"
|
|
|
|
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"
|
|
|
|
android:layout_row="3"
|
2015-12-08 23:42:58 +01:00
|
|
|
android:text="outgoing call"
|
|
|
|
android:layout_columnSpan="2" />
|
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"
|
|
|
|
android:layout_row="4"
|
|
|
|
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"
|
|
|
|
android:layout_row="4"
|
2015-12-08 23:42:58 +01:00
|
|
|
android:text="end call"
|
|
|
|
android:layout_columnSpan="2" />
|
2015-07-12 20:06:47 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/setMusicInfoButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
2015-12-08 23:42:58 +01:00
|
|
|
android:layout_columnSpan="3"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="5"
|
|
|
|
android:text="set music info" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/rebootButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
2015-12-08 23:42:58 +01:00
|
|
|
android:layout_columnSpan="3"
|
2015-07-12 20:06:47 +02:00
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="7"
|
|
|
|
android:text="reboot" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/exportDBButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="6"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:text="Export DB" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/importDBButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_column="1"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:layout_row="6"
|
|
|
|
android:text="Import DB" />
|
2015-12-08 23:42:58 +01:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Empty DB"
|
|
|
|
android:id="@+id/emptyDBButton"
|
|
|
|
android:layout_row="6"
|
|
|
|
android:layout_column="2" />
|
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>
|