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

Side by Side Diff: chrome/android/java_staging/res/layout/eb_promo_header.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright 2015 The Chromium Authors. All rights reserved.
4
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
8
9 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
10 xmlns:chrome="http://schemas.android.com/apk/res-auto"
11 android:layout_width="match_parent"
12 android:layout_height="wrap_content"
13 android:background="@drawable/eb_item_tile" >
14
15 <!-- contentDescription skipped on purpose since it's non-functional/informa tional icon -->
16 <ImageView
17 android:id="@+id/google_icon"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
20 android:layout_alignParentStart="true"
21 android:layout_alignParentTop="true"
22 android:layout_margin="18dp"
23 android:contentDescription="@null"
24 android:src="@drawable/blue_google_icon" />
25
26 <TextView
27 android:id="@+id/title"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:layout_alignParentEnd="true"
31 android:layout_alignTop="@id/google_icon"
32 android:layout_toEndOf="@id/google_icon"
33 android:text="@string/enhanced_bookmark_sign_in_promo_title"
34 android:textColor="@color/default_text_color"
35 android:textSize="16sp"
36 android:textStyle="bold" />
37
38 <TextView
39 android:id="@+id/description"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:layout_alignParentEnd="true"
43 android:layout_below="@id/title"
44 android:layout_toEndOf="@id/google_icon"
45 android:text="@string/enhanced_bookmark_sign_in_promo_description"
46 android:textColor="@color/default_text_color"
47 android:textSize="14sp" />
48
49 <LinearLayout
50 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 android:layout_alignParentEnd="true"
53 android:layout_below="@id/description"
54 android:layout_marginTop="8dp"
55 android:gravity="center_vertical"
56 android:orientation="horizontal" >
57
58 <Button
59 android:id="@+id/no_thanks"
60 style="@style/ButtonCompatBorderless"
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:text="@string/enhanced_bookmark_sign_in_promo_no_thanks"
64 android:textAllCaps="true"
65 android:textColor="@color/light_active_color"
66 android:textSize="15sp" />
67
68 <org.chromium.chrome.browser.widget.ButtonCompat
69 android:id="@+id/sign_in"
70 android:layout_width="wrap_content"
71 android:layout_height="wrap_content"
72 android:layout_margin="16dp"
73 android:text="@string/enhanced_bookmark_sign_in_promo_sign_in"
74 android:textAllCaps="true"
75 android:textColor="@android:color/white"
76 android:textSize="15sp"
77 chrome:buttonColor="@color/light_active_color" />
78 </LinearLayout>
79
80 </RelativeLayout>
OLDNEW
« no previous file with comments | « chrome/android/java_staging/res/layout/eb_popup_item.xml ('k') | chrome/android/java_staging/res/layout/eb_search.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698