diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-09-27 22:57:30 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-09-27 22:57:30 +0200 |
commit | 911f3855f184ecdb1339c1d8383ea19e86fe918e (patch) | |
tree | 8799a9b78e0a7f5c7e4162a410ce256135f535f4 /res/layout/logwindow.xml | |
parent | 4d9f6e5358b97ab104bc6c26b862ab290161568f (diff) |
Implement changing log level on the fly in the log window, still needs some UI design love
--HG--
extra : rebase_source : 207343cea3b74cd07ebdf00f8ef443465d12c966
Diffstat (limited to 'res/layout/logwindow.xml')
-rw-r--r-- | res/layout/logwindow.xml | 81 |
1 files changed, 69 insertions, 12 deletions
diff --git a/res/layout/logwindow.xml b/res/layout/logwindow.xml index 57ab5cb9..d7281346 100644 --- a/res/layout/logwindow.xml +++ b/res/layout/logwindow.xml @@ -1,18 +1,75 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > - - <TextView android:text="@string/speed_waiting" - android:singleLine="true" - android:id="@+id/speed" - android:layout_width="match_parent" - android:layout_height="wrap_content"/> - <ListView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <LinearLayout + android:orientation="vertical" + android:id="@+id/logOptionsLayout" + android:visibility="gone" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/log_verbosity_level"/> + + <SeekBar + android:id="@+id/LogLevelSlider" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:max="5" + android:indeterminate="false"/> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Timestamps"/> + + <RadioGroup + android:id="@+id/timeFormatRadioGroup" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <RadioButton + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="None" + android:id="@+id/radioNone" + /> + + <RadioButton + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Short" + android:id="@+id/radioShort" + /> + <RadioButton + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="ISO" + android:id="@+id/radioISO" + /> + + + </RadioGroup> + </LinearLayout> + + <TextView + android:text="@string/speed_waiting" + android:singleLine="true" + android:id="@+id/speed" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + <ListView android:id="@android:id/list" android:transcriptMode="normal" android:layout_width="fill_parent" - android:layout_height="fill_parent" /> - + android:layout_height="fill_parent"/> + </LinearLayout>
\ No newline at end of file |