diff --git a/res/layout/activity_listen.xml b/res/layout/activity_listen.xml
index 16c783a..a16e2db 100644
--- a/res/layout/activity_listen.xml
+++ b/res/layout/activity_listen.xml
@@ -1,70 +1,58 @@
-
-
+ android:gravity="center"
+ android:text="@string/parentDevice"
+ android:textSize="25sp" />
-
-
-
-
-
-
-
-
-
-
-
+
+ android:text="@string/connectedTo"
+ android:textSize="20sp" />
+ android:text=""
+ android:textSize="20sp" />
-
\ No newline at end of file
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 4f6b4d0..1c690f9 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -16,5 +16,9 @@
Waiting for Parent...
Parent Device
Select Child Device:
+ Status:
+ Connected To:
+ Disconnected
+ Listening...
diff --git a/src/protect/babymonitor/ListenActivity.java b/src/protect/babymonitor/ListenActivity.java
index 2f510c8..f2e5b9e 100644
--- a/src/protect/babymonitor/ListenActivity.java
+++ b/src/protect/babymonitor/ListenActivity.java
@@ -110,8 +110,11 @@ public class ListenActivity extends Activity
@Override
public void run()
{
- final TextView statusText = (TextView) findViewById(R.id.connectedDeviceNameTextView);
- statusText.setText(_name);
+ final TextView connectedText = (TextView) findViewById(R.id.connectedTo);
+ connectedText.setText(_name);
+
+ final TextView statusText = (TextView) findViewById(R.id.textStatus);
+ statusText.setText(R.string.listening);
}
});
@@ -139,8 +142,11 @@ public class ListenActivity extends Activity
@Override
public void run()
{
+ final TextView connectedText = (TextView) findViewById(R.id.connectedTo);
+ connectedText.setText("");
+
final TextView statusText = (TextView) findViewById(R.id.textStatus);
- statusText.setText("Listening stopped");
+ statusText.setText(R.string.disconnected);
}
});
}