diff --git a/software/android/app/src/main/java/com/rookiedev/hexapod/network/BluetoothService.kt b/software/android/app/src/main/java/com/rookiedev/hexapod/network/BluetoothService.kt
index 1bc3aa8..370c598 100644
--- a/software/android/app/src/main/java/com/rookiedev/hexapod/network/BluetoothService.kt
+++ b/software/android/app/src/main/java/com/rookiedev/hexapod/network/BluetoothService.kt
@@ -398,20 +398,6 @@ class BluetoothService(context: Context?, handler: Handler) {
// given BluetoothDevice
try {
tmp = if (secure) {
-// if (ActivityCompat.checkSelfPermission(
-// this,
-// Manifest.permission.BLUETOOTH_CONNECT
-// ) != PackageManager.PERMISSION_GRANTED
-// ) {
-// // TODO: Consider calling
-// // ActivityCompat#requestPermissions
-// // here to request the missing permissions, and then overriding
-// // public void onRequestPermissionsResult(int requestCode, String[] permissions,
-// // int[] grantResults)
-// // to handle the case where the user grants the permission. See the documentation
-// // for ActivityCompat#requestPermissions for more details.
-// return
-// }
mmDevice.createRfcommSocketToServiceRecord(
MY_UUID_SECURE
)
diff --git a/software/android/app/src/main/res/layout/activity_main.xml b/software/android/app/src/main/res/layout/activity_main.xml
index 0d70ef4..e9c6646 100644
--- a/software/android/app/src/main/res/layout/activity_main.xml
+++ b/software/android/app/src/main/res/layout/activity_main.xml
@@ -1,131 +1,176 @@
-
-
-
-
+
+
-
-
+ android:background="@color/white"
+ android:gravity="center_horizontal"
+ android:orientation="vertical"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp">
-
+
+
+
+ app:layout_constraintBottom_toTopOf="@id/ip_input_layout"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/hexapod_logo">
+
+
-
+
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:text="Connect"
+ app:layout_constraintBottom_toTopOf="@+id/textView_github"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/selected" />
+
+
+
\ No newline at end of file
diff --git a/software/android/app/src/main/res/layout/selected_device.xml b/software/android/app/src/main/res/layout/selected_device.xml
index d530ae6..60e5faa 100644
--- a/software/android/app/src/main/res/layout/selected_device.xml
+++ b/software/android/app/src/main/res/layout/selected_device.xml
@@ -7,8 +7,8 @@
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
- android:paddingTop="24dp"
- android:paddingBottom="24dp">
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp">