• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2018 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:orientation="vertical"
23    android:padding="8dip"
24    android:animateLayoutChanges="true"
25    >
26    <LinearLayout
27        android:id="@+id/header1"
28        android:layout_width="match_parent"
29        android:layout_height="wrap_content"
30        android:orientation="vertical"
31        >
32        <LinearLayout android:layout_width="match_parent"
33            android:layout_height="wrap_content"
34            android:orientation="horizontal"
35        >
36            <AutoCompleteTextView
37                android:id="@+id/commandline"
38                android:layout_width="0dip"
39                android:layout_height="wrap_content"
40                android:layout_weight="1"
41                android:hint="dumpsys [SERVICE], logcat -b crash, etc"
42                android:text=""
43                android:inputType="text"
44                android:imeOptions="flagForceAscii|actionGo|flagNoPersonalizedLearning|flagNoFullscreen"
45                android:maxLines="1"
46                android:scrollHorizontally="true"
47                android:selectAllOnFocus="true"
48            />
49            <Button
50                style="@style/OneCharButton"
51                android:id="@+id/multi_picker"
52                android:layout_height="wrap_content"
53                android:text="��"
54            />
55        </LinearLayout>
56        <LinearLayout android:layout_width="match_parent"
57            android:layout_height="wrap_content"
58            android:orientation="horizontal"
59            >
60            <TextView
61                android:id="@+id/grep_label"
62                android:layout_width="wrap_content"
63                android:layout_height="wrap_content"
64                android:text="grep"
65                />
66            <TextView
67                android:layout_width="wrap_content"
68                android:layout_height="wrap_content"
69                android:text=" -B"
70            />
71            <AutoCompleteTextView
72                android:id="@+id/beforeContext"
73                android:layout_width="32sp"
74                android:layout_height="wrap_content"
75                android:dropDownWidth="64sp"
76                android:text="0"
77                android:inputType="text"
78                android:imeOptions="flagForceAscii|actionGo|flagNoPersonalizedLearning|flagNoFullscreen"
79                android:maxLines="1"
80                android:scrollHorizontally="true"
81                android:selectAllOnFocus="true"
82            />
83            <TextView
84                android:layout_width="wrap_content"
85                android:layout_height="wrap_content"
86                android:text="-A"
87                />
88            <AutoCompleteTextView
89                android:id="@+id/afterContext"
90                android:layout_width="32sp"
91                android:layout_height="wrap_content"
92                android:dropDownWidth="64sp"
93                android:text="0"
94                android:inputType="text"
95                android:imeOptions="flagForceAscii|actionGo|flagNoPersonalizedLearning|flagNoFullscreen"
96                android:maxLines="1"
97                android:scrollHorizontally="true"
98                android:selectAllOnFocus="true"
99                />
100            <TextView
101                android:layout_width="wrap_content"
102                android:layout_height="wrap_content"
103                android:text="-i"
104                />
105            <CheckBox
106                android:id="@+id/ignore_case"
107                android:layout_width="wrap_content"
108                android:layout_height="wrap_content" />
109            <AutoCompleteTextView
110                android:id="@+id/pattern"
111                android:layout_width="0dip"
112                android:layout_height="wrap_content"
113                android:dropDownWidth="320sp"
114                android:hint="regexp"
115                android:text=""
116                android:layout_weight="1"
117                android:inputType="text"
118                android:imeOptions="flagForceAscii|actionGo|flagNoPersonalizedLearning|flagNoFullscreen"
119                android:maxLines="1"
120                android:scrollHorizontally="true"
121                android:selectAllOnFocus="true"
122                />
123            <Button
124                style="@style/OneCharButton"
125                android:id="@+id/re_picker"
126                android:layout_height="wrap_content"
127                android:text="…"
128            />
129        </LinearLayout>
130        <LinearLayout android:layout_width="match_parent"
131            android:layout_height="wrap_content"
132            android:orientation="horizontal"
133            >
134            <TextView
135                android:layout_width="wrap_content"
136                android:layout_height="wrap_content"
137                android:text="head"
138                />
139            <AutoCompleteTextView
140                android:id="@+id/head"
141                android:layout_width="64sp"
142                android:layout_height="wrap_content"
143                android:text="0"
144                android:inputType="text"
145                android:imeOptions="flagForceAscii|actionGo|flagNoPersonalizedLearning|flagNoFullscreen"
146                android:maxLines="1"
147                android:scrollHorizontally="true"
148                android:selectAllOnFocus="true"
149                />
150            <TextView
151                android:layout_width="wrap_content"
152                android:layout_height="wrap_content"
153                android:text="tail"
154                />
155            <AutoCompleteTextView
156                android:id="@+id/tail"
157                android:layout_width="64sp"
158                android:layout_height="wrap_content"
159                android:text="0"
160                android:inputType="text"
161                android:imeOptions="flagForceAscii|actionGo|flagNoPersonalizedLearning|flagNoFullscreen"
162                android:maxLines="1"
163                android:scrollHorizontally="true"
164                android:selectAllOnFocus="true"
165                />
166            <TextView
167                android:layout_width="wrap_content"
168                android:layout_height="wrap_content"
169                android:text="to last"
170                />
171            <CheckBox
172                android:id="@+id/scroll_to_bottm"
173                android:layout_width="wrap_content"
174                android:layout_height="wrap_content" />
175            <Button
176                android:id="@+id/start"
177                android:layout_width="wrap_content"
178                android:layout_height="wrap_content"
179                android:text="Go"
180                android:layout_weight="1"
181                />
182        </LinearLayout>
183    </LinearLayout>
184    <LinearLayout android:layout_width="match_parent"
185        android:layout_height="wrap_content"
186        android:orientation="horizontal"
187        >
188        <TextView
189            android:layout_width="wrap_content"
190            android:layout_height="wrap_content"
191            android:text="Search"
192            />
193        <AutoCompleteTextView
194            android:id="@+id/search"
195            android:layout_width="64sp"
196            android:layout_height="wrap_content"
197            android:dropDownWidth="320sp"
198            android:text=""
199            android:layout_weight="1"
200            android:inputType="text"
201            android:imeOptions="flagForceAscii|actionGo|flagNoPersonalizedLearning|flagNoFullscreen"
202            android:maxLines="1"
203            android:scrollHorizontally="true"
204            android:selectAllOnFocus="true"
205            />
206        <Button
207            style="@style/OneCharButton"
208            android:id="@+id/find_next"
209            android:layout_height="wrap_content"
210            android:text="∨"
211            />
212        <Button
213            style="@style/OneCharButton"
214            android:id="@+id/find_prev"
215            android:layout_height="wrap_content"
216            android:text="∧"
217            />
218        <Button
219            style="@style/OneCharButton"
220            android:id="@+id/close_header"
221            android:layout_height="wrap_content"
222            android:textStyle="bold"
223            android:text="⇧"
224        />
225        <Button
226            style="@style/OneCharButton"
227            android:id="@+id/open_header"
228            android:layout_height="wrap_content"
229            android:textStyle="bold"
230            android:text="⇩"
231        />
232    </LinearLayout>
233    <WebView
234        android:id="@+id/webview"
235        android:layout_width="match_parent"
236        android:layout_height="0dip"
237        android:layout_weight="1"
238        />
239</LinearLayout>
240