[mobile] ability to clear the log (and always show debug in menu)

This commit is contained in:
fkloft
2014-08-13 10:56:53 +02:00
parent 546ed4e98f
commit ad07f8685c
7 changed files with 23 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

View File

@ -49,6 +49,16 @@
android:onClick="onToggleMapVisibility"
android:src="@drawable/ic_action_map"/>
<ImageButton
android:id="@+id/btnClearLog"
android:layout_width="@dimen/button_size"
android:layout_height="@dimen/button_size"
android:layout_gravity="bottom"
android:background="@android:color/transparent"
android:contentDescription="@string/clear_log"
android:onClick="onClearLog"
android:src="@drawable/ic_action_discard"/>
<EditText
android:id="@+id/editCommand"
android:layout_width="0dp"

View File

@ -3,6 +3,7 @@
<string name="app_name">IITC Mobile</string>
<string name="toggle_map">Toggle map visibility</string>
<string name="clear_log">Clear log</string>
<string name="debug_run">Run</string>
<string name="activity_settings">IITC Mobile Settings</string>
<string name="activity_plugins">IITC Plugins</string>