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

Unified Diff: chrome/android/java/res/layout/infobar_button.xml

Issue 378043002: Visual makeover for infobars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't show buttons with empty text Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/infobar_button.xml
diff --git a/chrome/android/java/res/layout/infobar_button.xml b/chrome/android/java/res/layout/infobar_button.xml
index b45f10f550ade5481c8f5189f83e6e02615f794e..a35e04b8a3cd143050e260812ae8ae1fe7cc71c2 100644
--- a/chrome/android/java/res/layout/infobar_button.xml
+++ b/chrome/android/java/res/layout/infobar_button.xml
@@ -7,16 +7,13 @@
<Button xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:minWidth="60dp"
- android:minHeight="@dimen/infobar_touch_target_height"
+ android:background="?android:attr/selectableItemBackground"
+ android:fontFamily="sans-serif-medium"
+ android:minWidth="88dp"
+ android:minHeight="36dp"
android:textSize="@dimen/infobar_button_text_size"
- android:textColor="@drawable/infobar_button_text"
- android:shadowColor="#FFF"
- android:shadowDx="1.0"
- android:shadowDy="1.0"
- android:shadowRadius="1.0"
- android:background="@drawable/infobar_button_normal_floating"
android:paddingStart="@dimen/infobar_button_horizontal_padding"
android:paddingEnd="@dimen/infobar_button_horizontal_padding"
android:paddingTop="5dp"
- android:paddingBottom="5dp" />
+ android:paddingBottom="5dp"
+ android:textAllCaps="true" />
« no previous file with comments | « chrome/android/java/res/drawable/infobar_close_button_pressed.xml ('k') | chrome/android/java/res/layout/infobar_text.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698