Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / text_edit_suggestion_container_material.xml
blob34e7bc8af8da5190de74bbcb4ff47d14006b4d85
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2015 The Android Open Source Project
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
8           http://www.apache.org/licenses/LICENSE-2.0
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 -->
17 <!-- Background of the popup window is the same as the one of the floating toolbar.
18      Use floating toolbar background style. -->
19 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
20     android:layout_width="wrap_content"
21     android:layout_height="wrap_content">
22     <LinearLayout
23         android:id="@+id/suggestionWindowContainer"
24         android:layout_width="match_parent"
25         android:layout_height="wrap_content"
26         android:background="?android:attr/floatingToolbarPopupBackgroundDrawable"
27         android:elevation="@android:dimen/text_edit_floating_toolbar_elevation"
28         android:layout_margin="@android:dimen/text_edit_floating_toolbar_margin"
29         android:orientation="vertical"
30         android:divider="?android:attr/listDivider"
31         android:showDividers="middle">
32         <ListView
33             android:id="@+id/suggestionContainer"
34             android:layout_width="match_parent"
35             android:layout_height="wrap_content"
36             android:paddingTop="4dp"
37             android:paddingBottom="0dp"
38             android:divider="@null" />
39         <LinearLayout
40             android:layout_width="wrap_content"
41             android:layout_height="wrap_content"
42             android:orientation="vertical">
43             <TextView
44                 style="@android:style/Widget.Material.SuggestionButton"
45                 android:id="@+id/addToDictionaryButton"
46                 android:text="@string/addToDictionary" />
47             <TextView
48                 style="@android:style/Widget.Material.SuggestionButton"
49                 android:id="@+id/deleteButton"
50                 android:text="@string/deleteText" />
51         </LinearLayout>
52     </LinearLayout>
53 </RelativeLayout>