Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: content/public/android/java/res/layout/validation_message_bubble.xml

Issue 950223002: Android: Move resources for validation message bubble to components/web_contents_delegate_android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add per-file entries Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/android/java/res/drawable-xhdpi/ic_warning.png ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2013 The Chromium Authors. All rights reserved.
3
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 android:layout_width="wrap_content"
9 android:layout_height="wrap_content"
10 android:background="@drawable/bubble">
11
12 <LinearLayout
13 android:id="@+id/top_view"
14 android:layout_width="wrap_content"
15 android:layout_height="wrap_content"
16 android:layout_alignStart="@+id/icon_view"
17 android:layout_alignEnd="@+id/text_wrapper"
18 android:weightSum="1">
19
20 <View
21 android:layout_width="0dp"
22 android:layout_height="0dp"
23 android:layout_weight="0.25"
24 android:visibility="invisible"/>
25
26 <ImageView
27 android:id="@+id/arrow_image"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:layout_marginBottom="7dp"
31 android:src="@drawable/bubble_arrow_up"
32 android:contentDescription="@null" />
33
34 </LinearLayout>
35
36 <ImageView
37 android:id="@id/icon_view"
38 android:layout_width="19dp"
39 android:layout_height="19dp"
40 android:layout_alignParentStart="true"
41 android:layout_below="@id/top_view"
42 android:layout_marginEnd="8dp"
43 android:src="@drawable/ic_warning"
44 android:contentDescription="@null" />
45
46 <LinearLayout
47 android:id="@id/text_wrapper"
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:layout_below="@id/top_view"
51 android:layout_toEndOf="@id/icon_view"
52 android:orientation="vertical">
53
54 <TextView
55 android:id="@+id/main_text"
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
58 android:maxWidth="300dp"
59 android:textColor="@android:color/black"
60 android:textSize="16sp" />
61
62 <TextView
63 android:id="@+id/sub_text"
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:maxWidth="300dp"
67 android:textColor="#444"
68 android:textSize="13sp" />
69
70 </LinearLayout>
71
72 </RelativeLayout>
OLDNEW
« no previous file with comments | « content/public/android/java/res/drawable-xhdpi/ic_warning.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698