1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2016, The Android Open Source Project
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
10 ** http://www.apache.org/licenses/LICENSE-2.0
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.
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="wrap_content"
22 android:layout_height="wrap_content"
23 android:orientation="vertical">
26 android:id="@android:id/message"
27 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
29 android:layout_margin="@dimen/tooltip_margin"
30 android:paddingStart="@dimen/tooltip_horizontal_padding"
31 android:paddingEnd="@dimen/tooltip_horizontal_padding"
32 android:paddingTop="@dimen/tooltip_vertical_padding"
33 android:paddingBottom="@dimen/tooltip_vertical_padding"
34 android:maxWidth="256dp"
35 android:background="?android:attr/tooltipFrameBackground"
36 android:textAppearance="@style/TextAppearance.Tooltip"
37 android:textColor="?android:attr/tooltipForegroundColor"
39 android:ellipsize="end"