Made 'Open Pebble App' compatible with either pebble classic or pebble time app, and added an 'install watch app' button to the start-up screen to allow the user to install the watch app from OpenSeizureDetector.

This commit is contained in:
Graham Jones
2016-01-30 21:25:07 +00:00
parent ba9dd89727
commit d89dafbfa0
5 changed files with 98 additions and 31 deletions

View File

@@ -139,21 +139,38 @@
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal">
android:layout_height="wrap_content">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Edit Settings"
android:id="@+id/settingsButton"
android:layout_gravity="center_horizontal" />
<Button
android:layout_width="wrap_content"
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Configure Pebble"
android:id="@+id/pebbleButton"
android:layout_gravity="center_horizontal" />
android:gravity="center_horizontal">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Configure Pebble"
android:id="@+id/pebbleButton"
android:layout_gravity="center_horizontal" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Install Watch App"
android:id="@+id/installOsdAppButton" />
</LinearLayout>
</LinearLayout>