| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 Google Inc. All Rights Reserved. | 2 <!-- Copyright 2015 Google Inc. All Rights Reserved. |
| 3 | 3 |
| 4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
| 6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
| 7 | 7 |
| 8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | 9 |
| 10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
| 11 distributed under the License is distributed on an "AS IS" BASIS, | 11 distributed under the License is distributed on an "AS IS" BASIS, |
| 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 See the License for the specific language governing permissions and | 13 See the License for the specific language governing permissions and |
| 14 limitations under the License. | 14 limitations under the License. |
| 15 --> | 15 --> |
| 16 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 16 |
| 17 <ScrollView |
| 18 xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 android:layout_height="match_parent" | 19 android:layout_height="match_parent" |
| 18 android:layout_width="match_parent" | 20 android:layout_width="match_parent"> |
| 19 android:padding="5dp" | 21 |
| 20 android:orientation="vertical" > | 22 <LinearLayout |
| 21 | 23 android:layout_height="match_parent" |
| 22 <EditText | 24 android:layout_width="match_parent" |
| 23 android:id="@+id/edit" | |
| 24 android:padding="5dp" | 25 android:padding="5dp" |
| 25 android:layout_margin="5dp" | 26 android:orientation="vertical" > |
| 26 android:layout_width="match_parent" | 27 |
| 27 android:layout_height="wrap_content" | 28 <EditText |
| 28 android:hint="@string/url_hint" | 29 android:id="@+id/edit" |
| 29 android:inputType="textNoSuggestions" | 30 android:padding="5dp" |
| 30 android:text="https://www.google.com" /> | 31 android:layout_margin="5dp" |
| 31 | 32 android:layout_width="match_parent" |
| 32 <LinearLayout | 33 android:layout_height="wrap_content" |
| 33 android:layout_width="match_parent" | 34 android:hint="@string/url_hint" |
| 34 android:layout_height="wrap_content" | 35 android:inputType="textNoSuggestions" |
| 35 android:layout_margin="3dp" | 36 android:text="https://www.google.com" /> |
| 36 android:orientation="horizontal"> | 37 |
| 37 | 38 <LinearLayout |
| 38 <TextView | 39 android:layout_width="match_parent" |
| 40 android:layout_height="wrap_content" |
| 41 android:layout_margin="3dp" |
| 42 android:orientation="horizontal"> |
| 43 |
| 44 <TextView |
| 45 android:layout_width="wrap_content" |
| 46 android:layout_height="wrap_content" |
| 47 android:layout_margin="3dp" |
| 48 android:text="Package:"/> |
| 49 |
| 50 <Spinner |
| 51 android:layout_width="match_parent" |
| 52 android:layout_height="wrap_content" |
| 53 android:id="@+id/spinner" |
| 54 android:layout_margin="3dp" |
| 55 android:layout_gravity="center_horizontal" /> |
| 56 </LinearLayout> |
| 57 |
| 58 <Space |
| 59 android:layout_width="match_parent" |
| 60 android:layout_height="5dp" /> |
| 61 |
| 62 <Button |
| 63 android:id="@+id/connect_button" |
| 39 android:layout_width="wrap_content" | 64 android:layout_width="wrap_content" |
| 40 android:layout_height="wrap_content" | 65 android:layout_height="wrap_content" |
| 41 android:layout_margin="3dp" | 66 android:layout_margin="3dp" |
| 42 android:text="Package:"/> | 67 android:textAllCaps="false" |
| 43 | 68 android:text="@string/connect_button_text" |
| 44 <Spinner | 69 android:enabled="true" /> |
| 45 android:layout_width="match_parent" | 70 |
| 71 <Button |
| 72 android:id="@+id/warmup_button" |
| 73 android:layout_width="wrap_content" |
| 46 android:layout_height="wrap_content" | 74 android:layout_height="wrap_content" |
| 47 android:id="@+id/spinner" | |
| 48 android:layout_margin="3dp" | 75 android:layout_margin="3dp" |
| 49 android:layout_gravity="center_horizontal" /> | 76 android:textAllCaps="false" |
| 77 android:text="@string/warmup_button_text" |
| 78 android:enabled="false" /> |
| 79 |
| 80 <Button |
| 81 android:id="@+id/may_launch_button" |
| 82 android:layout_width="wrap_content" |
| 83 android:layout_height="wrap_content" |
| 84 android:layout_margin="3dp" |
| 85 android:textAllCaps="false" |
| 86 android:text="@string/may_launch_button_text" |
| 87 android:enabled="false" /> |
| 88 |
| 89 <Button |
| 90 android:id="@+id/launch_button" |
| 91 android:layout_width="wrap_content" |
| 92 android:layout_height="wrap_content" |
| 93 android:layout_margin="3dp" |
| 94 android:textAllCaps="false" |
| 95 android:text="@string/launch_button_text" |
| 96 android:enabled="false" /> |
| 97 |
| 98 <Button |
| 99 android:id="@+id/launch_browser_actions_button" |
| 100 android:layout_width="wrap_content" |
| 101 android:layout_height="wrap_content" |
| 102 android:layout_margin="3dp" |
| 103 android:textAllCaps="false" |
| 104 android:text="@string/launch_browser_actions_button_text" /> |
| 105 |
| 50 </LinearLayout> | 106 </LinearLayout> |
| 51 | 107 |
| 52 <Space | 108 </ScrollView> |
| 53 android:layout_width="match_parent" | |
| 54 android:layout_height="5dp" /> | |
| 55 | |
| 56 <Button | |
| 57 android:id="@+id/connect_button" | |
| 58 android:layout_width="wrap_content" | |
| 59 android:layout_height="wrap_content" | |
| 60 android:layout_margin="3dp" | |
| 61 android:textAllCaps="false" | |
| 62 android:text="@string/connect_button_text" | |
| 63 android:enabled="true" /> | |
| 64 | |
| 65 <Button | |
| 66 android:id="@+id/warmup_button" | |
| 67 android:layout_width="wrap_content" | |
| 68 android:layout_height="wrap_content" | |
| 69 android:layout_margin="3dp" | |
| 70 android:textAllCaps="false" | |
| 71 android:text="@string/warmup_button_text" | |
| 72 android:enabled="false" /> | |
| 73 | |
| 74 <Button | |
| 75 android:id="@+id/may_launch_button" | |
| 76 android:layout_width="wrap_content" | |
| 77 android:layout_height="wrap_content" | |
| 78 android:layout_margin="3dp" | |
| 79 android:textAllCaps="false" | |
| 80 android:text="@string/may_launch_button_text" | |
| 81 android:enabled="false" /> | |
| 82 | |
| 83 <Button | |
| 84 android:id="@+id/launch_button" | |
| 85 android:layout_width="wrap_content" | |
| 86 android:layout_height="wrap_content" | |
| 87 android:layout_margin="3dp" | |
| 88 android:textAllCaps="false" | |
| 89 android:text="@string/launch_button_text" | |
| 90 android:enabled="false" /> | |
| 91 | |
| 92 <Button | |
| 93 android:id="@+id/launch_browser_actions_button" | |
| 94 android:layout_width="wrap_content" | |
| 95 android:layout_height="wrap_content" | |
| 96 android:layout_margin="3dp" | |
| 97 android:textAllCaps="false" | |
| 98 android:text="@string/launch_browser_actions_button_text" /> | |
| 99 | |
| 100 </LinearLayout> | |
| OLD | NEW |