Jason Monk | a9f1288 | 2016-01-24 12:03:19 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 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 | <LinearLayout |
| 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | xmlns:systemui="http://schemas.android.com/apk/res-auto" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
| 21 | android:orientation="vertical"> |
| 22 | |
| 23 | <LinearLayout |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:elevation="4dp" |
| 27 | android:paddingTop="8dp" |
| 28 | android:paddingBottom="8dp" |
| 29 | android:paddingStart="12dp" |
| 30 | android:paddingEnd="12dp" |
| 31 | android:layout_gravity="bottom" |
| 32 | android:background="@android:color/white" |
| 33 | android:gravity="center" |
| 34 | android:orientation="vertical"> |
| 35 | |
| 36 | <TextView |
| 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:text="@string/preview" |
| 40 | android:paddingTop="8dp" |
| 41 | android:paddingBottom="8dp" |
| 42 | android:textColor="?android:attr/colorAccent" |
| 43 | android:textAppearance="?android:attr/textAppearanceLarge" /> |
| 44 | |
| 45 | <FrameLayout |
| 46 | android:id="@+id/nav_preview_frame" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" /> |
| 49 | |
| 50 | </LinearLayout> |
| 51 | |
| 52 | <android.support.v7.widget.RecyclerView |
| 53 | android:id="@android:id/list" |
| 54 | android:layout_width="match_parent" |
| 55 | android:layout_height="match_parent" /> |
| 56 | |
| 57 | </LinearLayout> |