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

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

Issue 914003002: Use ButtonCompat to get Material-y buttons in more places. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/sad_tab.xml
diff --git a/chrome/android/java/res/layout/sad_tab.xml b/chrome/android/java/res/layout/sad_tab.xml
index ccf9d2b0085491bdefc3c0090f2f0b158ecd644b..3c67d055231319c2ff48406a38171d2ca19795f5 100644
--- a/chrome/android/java/res/layout/sad_tab.xml
+++ b/chrome/android/java/res/layout/sad_tab.xml
@@ -8,6 +8,7 @@
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="Overdraw"
android:layout_width="match_parent"
@@ -41,23 +42,15 @@
android:textColor="#666"
android:textSize="20sp" />
- <Button
+ <org.chromium.chrome.browser.widget.ButtonCompat
android:id="@+id/sad_tab_reload_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="15dp"
- android:background="@drawable/sad_tab_reload_button"
android:text="@string/sad_tab_reload_label"
android:textColor="#fff"
- android:textSize="13.8sp"
- android:textStyle="bold"
- android:paddingTop="8dp"
- android:paddingBottom="8dp"
- android:paddingStart="13dp"
- android:paddingEnd="13dp"
- android:minWidth="65dp"
- android:minHeight="29dp" />
+ chrome:buttonColor="@color/light_active_color" />
<View
android:layout_width="match_parent"
« no previous file with comments | « chrome/android/java/res/layout/preference_button.xml ('k') | chrome/android/java/res/layout/website_settings.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698