blob: 95a00cca1c9cd498220cfdec459f961381502ced [file] [log] [blame]
Doris Linga213bf02018-01-10 17:26:48 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2018 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18<LinearLayout
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 style="@style/SuggestionConditionStyle"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
Doris Ling5b333252018-02-20 15:30:47 -080023 android:paddingTop="2dp"
Doris Linga213bf02018-01-10 17:26:48 -080024 android:orientation="vertical">
25
26 <LinearLayout
27 android:layout_width="match_parent"
28 android:layout_height="match_parent"
29 android:orientation="horizontal"
30 android:gravity="center_vertical">
31
32 <TextView
33 android:id="@android:id/title"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_marginStart="24dp"
37 android:layout_centerVertical="true"
38 android:gravity="start"
39 android:text="@string/suggestions_title_v2"
40 android:textAppearance="@style/TextAppearance.SuggestionHeader" />
41
42 <TextView
43 android:id="@android:id/summary"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_weight="1"
47 android:layout_marginEnd="24dp"
48 android:layout_centerVertical="true"
49 android:gravity="end"
50 android:textAppearance="@style/TextAppearance.SuggestionHeader" />
51
52 </LinearLayout>
53
54 <android.support.v7.widget.RecyclerView
55 android:id="@+id/suggestion_list"
56 android:layout_width="match_parent"
57 android:layout_height="wrap_content"
Doris Ling7fa083e2018-01-31 15:05:21 -080058 android:paddingTop="12dp"
59 android:paddingBottom="13dp"
Doris Linga213bf02018-01-10 17:26:48 -080060 android:scrollbars="none"/>
61
62</LinearLayout>