Skip to content

Commit db119dd

Browse files
committed
Fixed layout lint warning
1 parent 149bb77 commit db119dd

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3-
android:layout_width="fill_parent"
4-
android:layout_height="fill_parent"
5-
android:fillViewport="true">
3+
android:layout_width="fill_parent"
4+
android:layout_height="fill_parent"
5+
android:fillViewport="true">
66

77
<LinearLayout
88
android:focusable="true"
@@ -11,7 +11,7 @@
1111
android:layout_height="wrap_content"
1212
android:orientation="vertical">
1313

14-
<requestFocus />
14+
<requestFocus/>
1515

1616
<LinearLayout
1717
android:id="@+id/layout_url"
@@ -24,20 +24,20 @@
2424
android:layout_width="0dp"
2525
android:layout_height="wrap_content"
2626
android:layout_weight="1"
27-
android:inputType="textUri" />
27+
android:inputType="textUri"/>
2828

2929
<Button
30-
android:id="@+id/button_run"
30+
android:id="@+id/button_cancel"
3131
android:layout_width="wrap_content"
3232
android:layout_height="wrap_content"
33-
android:text="@string/button_run" />
33+
android:visibility="gone"
34+
android:text="@string/button_cancel"/>
3435

3536
<Button
36-
android:id="@+id/button_cancel"
37+
android:id="@+id/button_run"
3738
android:layout_width="wrap_content"
3839
android:layout_height="wrap_content"
39-
android:visibility="gone"
40-
android:text="@string/button_cancel" />
40+
android:text="@string/button_run"/>
4141
</LinearLayout>
4242

4343
<LinearLayout
@@ -49,15 +49,15 @@
4949
<TextView
5050
android:layout_width="fill_parent"
5151
android:layout_height="wrap_content"
52-
android:text="@string/label_headers" />
52+
android:text="@string/label_headers"/>
5353

5454
<EditText
5555
android:id="@+id/edit_headers"
5656
android:layout_width="fill_parent"
5757
android:layout_height="wrap_content"
5858
android:inputType="textMultiLine"
5959
android:minLines="3"
60-
android:singleLine="false" />
60+
android:singleLine="false"/>
6161

6262
</LinearLayout>
6363

@@ -70,23 +70,23 @@
7070
<TextView
7171
android:layout_width="fill_parent"
7272
android:layout_height="wrap_content"
73-
android:text="@string/label_req_body" />
73+
android:text="@string/label_req_body"/>
7474

7575
<EditText
7676
android:id="@+id/edit_body"
7777
android:layout_width="fill_parent"
7878
android:layout_height="wrap_content"
7979
android:inputType="textMultiLine"
8080
android:minLines="3"
81-
android:singleLine="false" />
81+
android:singleLine="false"/>
8282

8383
</LinearLayout>
8484

8585
<LinearLayout
8686
android:id="@+id/layout_response"
8787
android:layout_width="fill_parent"
8888
android:layout_height="wrap_content"
89-
android:orientation="vertical" />
89+
android:orientation="vertical"/>
9090

9191
</LinearLayout>
9292
</ScrollView>

0 commit comments

Comments
 (0)