123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/cover_background"
- android:orientation="vertical">
- <include layout="@layout/include_common_head" />
- <View
- android:layout_width="match_parent"
- android:layout_height="10dp" />
- <LinearLayout
- android:id="@+id/LinearLayoutRecDisp"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:layout_weight="1"
- android:orientation="horizontal">
- <EditText
- android:id="@+id/editTextRecDisp"
- android:layout_width="fill_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:background="@drawable/corner_view"
- android:clickable="false"
- android:editable="false"
- android:gravity="top"
- android:longClickable="false"
- android:paddingRight="10dp"
- android:textSize="14sp" />
- <LinearLayout
- android:id="@+id/LinearLayoutRecTool"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <RadioGroup
- android:id="@+id/radioGroupOption"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <RadioButton
- android:id="@+id/radioButtonTxt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checked="true"
- android:text="@string/ascii" />
- <RadioButton
- android:id="@+id/radioButtonHex"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/hex" />
- </RadioGroup>
- <Button
- android:id="@+id/ButtonClear"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/clean" />
- <EditText
- android:id="@+id/editTextLines"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clickable="false"
- android:editable="false"
- android:enabled="false"
- android:imeOptions="actionNone"
- android:inputType="number"
- android:longClickable="false"
- android:text="0">
- <requestFocus />
- </EditText>
- <CheckBox
- android:id="@+id/checkBoxAutoClear"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checked="true"
- android:text="@string/auto" />
- </LinearLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="10dp" />
- <LinearLayout
- android:id="@+id/LinearLayoutCOMA"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingLeft="16dp"
- android:paddingRight="16dp">
- <EditText
- android:id="@+id/editTextCOMA"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:layout_marginTop="10dp"
- android:background="@drawable/corner_view"
- android:gravity="top"
- android:hint="@string/send_hint"
- android:imeOptions="actionDone"
- android:paddingLeft="10dp"
- android:paddingRight="10dp"
- android:singleLine="true" />
- <LinearLayout
- android:id="@+id/LinearLayoutTooLCOMA"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:orientation="vertical">
- <View
- android:layout_width="match_parent"
- android:layout_height="10dp" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_gravity="center_vertical"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:paddingLeft="5dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="@string/dev_path" />
- <Spinner
- android:id="@+id/SpinnerCOMA"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" />
- </LinearLayout>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="@string/baudrate" />
- <Spinner
- android:id="@+id/SpinnerBaudRateCOMA"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" />
- </LinearLayout>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="@string/databits" />
- <Spinner
- android:id="@+id/Spinner_databits1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" />
- </LinearLayout>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="@string/stopbits" />
- <Spinner
- android:id="@+id/Spinner_stopbits1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:gravity="center" />
- </LinearLayout>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="@string/parity" />
- <Spinner
- android:id="@+id/Spinner_parity1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_weight="1" />
- </LinearLayout>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <ToggleButton
- android:id="@+id/toggleButtonCOMA"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="ToggleButton" />
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/black" />
- <View
- android:layout_width="match_parent"
- android:layout_height="10dp" />
- <LinearLayout
- android:id="@+id/LinearLayoutOption2COMA"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="@string/auto_send_time" />
- <EditText
- android:id="@+id/editTextTimeCOMA"
- android:layout_width="80dp"
- android:layout_height="wrap_content"
- android:inputType="number"
- android:text="500" />
- <TextView
- android:id="@+id/textView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="ms" />
- <CheckBox
- android:id="@+id/checkBoxAutoCOMA"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/auto_send" />
- <Button
- android:id="@+id/ButtonSendCOMA"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="10dp"
- android:text="@string/send" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/black" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:layout_weight="1"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/app_info"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/app_info" />
- </LinearLayout>
- </LinearLayout>
|