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

Side by Side Diff: chrome/android/java/res/layout/snackbar.xml

Issue 1275163007: Make the button in snackbar larger and easier to click (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/snackbar/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 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 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:layout_width="match_parent" 7 android:layout_width="match_parent"
8 android:layout_height="wrap_content" 8 android:layout_height="wrap_content"
9 android:background="#282C32" 9 android:background="#282C32"
10 android:minHeight="@dimen/snackbar_min_height" 10 android:minHeight="@dimen/snackbar_min_height"
11 android:orientation="horizontal" 11 android:orientation="horizontal" >
12 android:paddingTop="14dp"
13 android:paddingBottom="14dp" >
14 12
15 <org.chromium.chrome.browser.snackbar.TemplatePreservingTextView 13 <org.chromium.chrome.browser.snackbar.TemplatePreservingTextView
16 android:id="@+id/snackbar_message" 14 android:id="@+id/snackbar_message"
17 android:layout_width="0dp" 15 android:layout_width="0dp"
18 android:layout_height="wrap_content" 16 android:layout_height="wrap_content"
19 android:layout_gravity="start|center_vertical" 17 android:layout_gravity="start|center_vertical"
20 android:layout_marginStart="24dp" 18 android:layout_marginStart="24dp"
19 android:layout_marginTop="14dp"
20 android:layout_marginBottom="14dp"
21 android:layout_weight="1" 21 android:layout_weight="1"
22 android:textAlignment="viewStart" 22 android:textAlignment="viewStart"
23 android:textColor="@android:color/white" 23 android:textColor="@android:color/white"
24 android:textSize="14sp" /> 24 android:textSize="14sp" />
25 25
26 <TextView 26 <TextView
27 android:id="@+id/snackbar_button" 27 android:id="@+id/snackbar_button"
28 android:layout_width="wrap_content" 28 android:layout_width="wrap_content"
29 android:layout_height="match_parent" 29 android:layout_height="@dimen/snackbar_min_height"
30 android:fontFamily="sans-serif-medium" 30 android:background="?attr/selectableItemBackground"
31 android:gravity="center_vertical" 31 android:gravity="center_vertical"
32 android:paddingEnd="24dp" 32 android:paddingEnd="24dp"
33 android:paddingStart="24dp" 33 android:paddingStart="24dp"
34 android:fontFamily="sans-serif-medium"
34 android:textAllCaps="true" 35 android:textAllCaps="true"
35 android:textColor="@color/snackbar_button_color" 36 android:textColor="@color/snackbar_button_color"
36 android:textSize="14sp" /> 37 android:textSize="14sp" />
37 38
38 </LinearLayout> 39 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/snackbar/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698