Improve monitor activity with LinearLayout and helper text
This commit is contained in:
@@ -53,7 +53,7 @@ public class MonitorActivity extends Activity
|
||||
public void run()
|
||||
{
|
||||
final TextView statusText = (TextView) findViewById(R.id.textStatus);
|
||||
statusText.setText("Streaming...");
|
||||
statusText.setText(R.string.streaming);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -94,9 +94,6 @@ public class MonitorActivity extends Activity
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_monitor);
|
||||
|
||||
final TextView text = (TextView) findViewById(R.id.textStatus);
|
||||
text.setText("Loading...");
|
||||
|
||||
try
|
||||
{
|
||||
// Initialize a server socket on the next available port.
|
||||
@@ -137,7 +134,7 @@ public class MonitorActivity extends Activity
|
||||
public void run()
|
||||
{
|
||||
final TextView statusText = (TextView) findViewById(R.id.textStatus);
|
||||
statusText.setText("Stopped");
|
||||
statusText.setText(R.string.stopped);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -216,7 +213,7 @@ public class MonitorActivity extends Activity
|
||||
public void run()
|
||||
{
|
||||
final TextView statusText = (TextView) findViewById(R.id.textStatus);
|
||||
statusText.setText("Waiting for connection...");
|
||||
statusText.setText(R.string.waitingForParent);
|
||||
|
||||
final TextView serviceText = (TextView) findViewById(R.id.textService);
|
||||
serviceText.setText(serviceName);
|
||||
|
||||
Reference in New Issue
Block a user