162c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette<?xml version="1.0" encoding="utf-8"?> 262c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette<!-- 362c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette Copyright (C) 2015 The Android Open Source Project 462c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette 562c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette Licensed under the Apache License, Version 2.0 (the "License"); 662c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette you may not use this file except in compliance with the License. 762c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette You may obtain a copy of the License at 862c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette 962c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette http://www.apache.org/licenses/LICENSE-2.0 1062c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette 1162c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette Unless required by applicable law or agreed to in writing, software 1262c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette distributed under the License is distributed on an "AS IS" BASIS, 1362c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1462c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette See the License for the specific language governing permissions and 1562c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette limitations under the License. 1662c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette--> 1762c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette 1862c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 1962c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:id="@+id/topPanel" 2062c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_width="match_parent" 2162c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_height="wrap_content" 2262c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:orientation="vertical"> 2362c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette 24d6bfb82dc85dba3c469a407cc318e63cfff33a0eAlan Viverette <!-- If the client uses a customTitle, it will be added here. --> 25d6bfb82dc85dba3c469a407cc318e63cfff33a0eAlan Viverette 2662c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette <LinearLayout 2762c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:id="@+id/title_template" 2862c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_width="match_parent" 2962c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_height="wrap_content" 3062c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:orientation="horizontal" 3162c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:gravity="center_vertical|start" 3262c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:paddingStart="?attr/dialogPreferredPadding" 3362c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:paddingEnd="?attr/dialogPreferredPadding" 3462c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:paddingTop="@dimen/dialog_padding_top_material"> 3562c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette 3662c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette <ImageView 3762c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:id="@+id/icon" 3862c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_width="32dip" 3962c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_height="32dip" 4062c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_marginEnd="8dip" 4162c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:scaleType="fitCenter" 4262c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:src="@null" /> 4362c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette 4462c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette <com.android.internal.widget.DialogTitle 4562c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:id="@+id/alertTitle" 4662c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:singleLine="true" 4762c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:ellipsize="end" 4862c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_width="match_parent" 4962c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette android:layout_height="wrap_content" 502e750a14743e2403f37f559973563e9236a40883Alan Viverette android:textAlignment="viewStart" 512e750a14743e2403f37f559973563e9236a40883Alan Viverette style="?attr/windowTitleStyle" /> 5262c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette </LinearLayout> 5362c79e9a64c3b2cafd5500ed3064977dff7b7da3Alan Viverette 54d6bfb82dc85dba3c469a407cc318e63cfff33a0eAlan Viverette <Space 55d6bfb82dc85dba3c469a407cc318e63cfff33a0eAlan Viverette android:id="@+id/titleDividerNoCustom" 56d6bfb82dc85dba3c469a407cc318e63cfff33a0eAlan Viverette android:visibility="gone" 57d6bfb82dc85dba3c469a407cc318e63cfff33a0eAlan Viverette android:layout_width="match_parent" 58d6bfb82dc85dba3c469a407cc318e63cfff33a0eAlan Viverette android:layout_height="@dimen/dialog_title_divider_material" /> 592e750a14743e2403f37f559973563e9236a40883Alan Viverette</LinearLayout> 60