Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / android / java / res / layout / dialog_with_titlebar.xml
blob3a4dd68e1741f6d474ac017294d97572f71d144d
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3      Use of this source code is governed by a BSD-style license that can be
4      found in the LICENSE file. -->
6 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
7     android:layout_width="match_parent"
8     android:layout_height="match_parent" >
10     <LinearLayout
11         android:layout_width="match_parent"
12         android:layout_height="@dimen/toolbar_height_no_shadow"
13         android:background="@color/default_primary_color" >
15         <TextView
16             android:id="@+id/title"
17             android:layout_width="0dp"
18             android:layout_height="match_parent"
19             android:layout_weight="1"
20             android:fontFamily="sans-serif-medium"
21             android:gravity="center_vertical"
22             android:paddingStart="16dp"
23             android:paddingEnd="16dp"
24             android:textColor="#333333"
25             android:textSize="20sp" />
27         <ImageButton
28             android:id="@+id/close_button"
29             style="@style/ToolbarButton"
30             android:layout_width="52dp"
31             android:layout_height="match_parent"
32             android:layout_gravity="top"
33             android:contentDescription="@string/close"
34             android:src="@drawable/btn_close" />
35     </LinearLayout>
37     <ImageView
38         android:layout_width="match_parent"
39         android:layout_height="wrap_content"
40         android:layout_marginTop="@dimen/toolbar_height_no_shadow"
41         android:contentDescription="@null"
42         android:scaleType="fitXY"
43         android:src="@drawable/toolbar_shadow" />
45     <!-- Dialog content will be inserted here from Java code -->
47 </FrameLayout>