Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** Copyright 2014, The Android Open Source Project |
| 5 | ** |
| 6 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | ** you may not use this file except in compliance with the License. |
| 8 | ** You may obtain a copy of the License at |
| 9 | ** |
| 10 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ** |
| 12 | ** Unless required by applicable law or agreed to in writing, software |
| 13 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ** See the License for the specific language governing permissions and |
| 16 | ** limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | |
| 20 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | android:orientation="vertical" |
| 22 | android:layout_height="match_parent" |
| 23 | android:layout_width="match_parent"> |
| 24 | |
| 25 | <LinearLayout |
| 26 | android:orientation="vertical" |
| 27 | android:layout_height="0px" |
| 28 | android:layout_width="match_parent" |
| 29 | android:layout_weight="1"> |
| 30 | |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 31 | <org.lineageos.lineageparts.widget.SwitchBar |
Steve Kondik | 0e6cfa0 | 2016-10-14 22:06:53 -0700 | [diff] [blame] | 32 | android:id="@+id/switch_bar" |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 33 | android:layout_height="?android:attr/actionBarSize" |
| 34 | android:layout_width="match_parent" |
| 35 | android:background="@drawable/switchbar_background" |
| 36 | android:theme="?attr/switchBarTheme" |
| 37 | /> |
| 38 | |
| 39 | <FrameLayout |
| 40 | android:id="@+id/main_content" |
| 41 | android:layout_width="match_parent" |
| 42 | android:layout_height="match_parent" |
| 43 | /> |
| 44 | |
| 45 | </LinearLayout> |
| 46 | |
| 47 | <RelativeLayout android:id="@+id/button_bar" |
| 48 | android:layout_height="wrap_content" |
| 49 | android:layout_width="match_parent" |
| 50 | android:layout_weight="0" |
| 51 | android:visibility="gone"> |
| 52 | |
| 53 | <Button android:id="@+id/back_button" |
| 54 | android:layout_width="150dip" |
| 55 | android:layout_height="wrap_content" |
| 56 | android:layout_margin="5dip" |
| 57 | android:layout_alignParentStart="true" |
| 58 | android:text="@*android:string/back_button_label" |
| 59 | /> |
| 60 | |
| 61 | <LinearLayout |
| 62 | android:orientation="horizontal" |
| 63 | android:layout_width="wrap_content" |
| 64 | android:layout_height="wrap_content" |
| 65 | android:layout_alignParentEnd="true"> |
| 66 | |
| 67 | <Button android:id="@+id/skip_button" |
| 68 | android:layout_width="150dip" |
| 69 | android:layout_height="wrap_content" |
| 70 | android:layout_margin="5dip" |
| 71 | android:text="@*android:string/skip_button_label" |
| 72 | android:visibility="gone" |
| 73 | /> |
| 74 | |
| 75 | <Button android:id="@+id/next_button" |
| 76 | android:layout_width="150dip" |
| 77 | android:layout_height="wrap_content" |
| 78 | android:layout_margin="5dip" |
| 79 | android:text="@*android:string/next_button_label" |
| 80 | /> |
| 81 | |
| 82 | </LinearLayout> |
| 83 | |
| 84 | </RelativeLayout> |
| 85 | |
| 86 | </LinearLayout> |
| 87 | |