Zhou Tang | 8a838c8 | 2016-11-05 11:04:50 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | style="@style/default_linear_layout_padding" |
| 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" |
| 6 | android:orientation="vertical"> |
| 7 | |
| 8 | <LinearLayout |
| 9 | android:layout_width="match_parent" |
| 10 | android:layout_height="wrap_content" |
| 11 | android:paddingTop="10dp" |
| 12 | android:paddingBottom="10dp" |
| 13 | android:orientation="horizontal"> |
| 14 | |
| 15 | <EditText |
| 16 | android:id="@+id/pingName" |
| 17 | android:layout_width="0dp" |
| 18 | android:layout_height="wrap_content" |
| 19 | android:layout_weight="10" |
| 20 | android:hint="@string/ping_client_prefix_hint"/> |
| 21 | |
| 22 | <Button |
| 23 | android:id="@+id/pingStart" |
| 24 | style="?android:attr/buttonStyleSmall" |
| 25 | android:layout_width="wrap_content" |
| 26 | android:layout_height="wrap_content" |
| 27 | android:layout_weight="1" |
| 28 | android:text="@string/start" /> |
| 29 | |
| 30 | </LinearLayout> |
| 31 | |
| 32 | <ListView |
| 33 | android:id="@+id/pingResult" |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="match_parent"> |
| 36 | </ListView> |
| 37 | |
| 38 | </LinearLayout> |