<TextView
android:id="@+id/in"
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="0dip"
android:layout_weight="1"
android:gravity="bottom"
android:scrollbars="vertical"
android:textSize="7dp"
android:typeface="monospace" />
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- >
-
- <EditText
- android:id="@+id/edit_text_out"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:layout_weight="1"
- android:inputType="text|textNoSuggestions" />
-
- <Button android:id="@+id/button_send"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/send"
- />
- </LinearLayout>
</LinearLayout>
<resources>
<string name="app_name">AltosDroid</string>
- <!-- BluetoothChat -->
- <string name="send">Send</string>
- <string name="not_connected">You are not connected to a device</string>
- <string name="bt_not_enabled_leaving">Bluetooth was not enabled. Leaving Bluetooth Chat.</string>
+ <!-- AltosDroid -->
+ <string name="bt_not_enabled">Bluetooth was not enabled.</string>
<string name="title_connecting">connecting…</string>
<string name="title_connected_to">connected: </string>
<string name="title_not_connected">not connected</string>
+ <!-- Options Menu -->
+ <string name="connect_device">Connect a device</string>
+
<!-- DeviceListActivity -->
<string name="scanning">scanning for devices…</string>
<string name="select_device">select a device to connect</string>
<string name="title_other_devices">Other Available Devices</string>
<string name="button_scan">Scan for devices</string>
- <!-- Options Menu -->
- <string name="connect_device">Connect a device</string>
-
<!-- Service -->
<string name="telemetry_service_label">AltosDroid Telemetry Service</string>
<string name="telemetry_service_started">Telemetry Service Started</string>
// User did not enable Bluetooth or an error occured
Log.d(TAG, "BT not enabled");
stopService(new Intent(AltosDroid.this, TelemetryService.class));
- Toast.makeText(this, R.string.bt_not_enabled_leaving, Toast.LENGTH_SHORT).show();
+ Toast.makeText(this, R.string.bt_not_enabled, Toast.LENGTH_SHORT).show();
finish();
}
}