Hugo Benichi | 484140b | 2017-05-26 15:45:03 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (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 |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <!-- |
| 18 | Defines a panel with two buttons and a spacer in between. |
| 19 | The right button uses the Material.Button.Colored style. |
| 20 | --> |
| 21 | |
| 22 | <LinearLayout |
| 23 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="wrap_content" |
Eric Schwarzenbach | eb5ceb9 | 2017-07-13 13:21:54 -0700 | [diff] [blame] | 26 | android:paddingTop="4dp" |
| 27 | android:paddingStart="8dp" |
| 28 | android:paddingEnd="8dp"> |
Hugo Benichi | 484140b | 2017-05-26 15:45:03 +0900 | [diff] [blame] | 29 | <Button |
| 30 | android:id="@+id/forget_button" |
Eric Schwarzenbach | eb5ceb9 | 2017-07-13 13:21:54 -0700 | [diff] [blame] | 31 | android:text="@string/forget" |
| 32 | android:layout_width="0dp" |
| 33 | android:layout_weight="1" |
Hugo Benichi | 484140b | 2017-05-26 15:45:03 +0900 | [diff] [blame] | 34 | android:layout_height="wrap_content" |
Eric Schwarzenbach | eb5ceb9 | 2017-07-13 13:21:54 -0700 | [diff] [blame] | 35 | android:layout_gravity="center"/> |
Hugo Benichi | 484140b | 2017-05-26 15:45:03 +0900 | [diff] [blame] | 36 | <Button |
| 37 | style="@android:style/Widget.Material.Button.Colored" |
| 38 | android:id="@+id/signin_button" |
Salvador Martinez | eb66aac | 2018-01-11 10:55:55 -0800 | [diff] [blame] | 39 | android:text="@string/wifi_sign_in_button_text" |
Eric Schwarzenbach | eb5ceb9 | 2017-07-13 13:21:54 -0700 | [diff] [blame] | 40 | android:layout_width="0dp" |
| 41 | android:layout_weight="1" |
Hugo Benichi | 484140b | 2017-05-26 15:45:03 +0900 | [diff] [blame] | 42 | android:layout_height="wrap_content" |
Eric Schwarzenbach | eb5ceb9 | 2017-07-13 13:21:54 -0700 | [diff] [blame] | 43 | android:layout_gravity="center"/> |
Hugo Benichi | 484140b | 2017-05-26 15:45:03 +0900 | [diff] [blame] | 44 | </LinearLayout> |