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

Side by Side Diff: chrome/android/java/res/values-v17/styles.xml

Issue 2801213003: Fix UI style of signin AlertDialogs on Android (Closed)
Patch Set: Created 3 years, 8 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/signin/AccountAdder.java » ('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 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 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 <resources xmlns:tools="http://schemas.android.com/tools"> 6 <resources xmlns:tools="http://schemas.android.com/tools">
7 <!-- Q: Why put style resources under values-v17/ ? 7 <!-- Q: Why put style resources under values-v17/ ?
8 A: Problem: 8 A: Problem:
9 1. paddingStart causes a crash on Galaxy Tab&Note b/8351339. 9 1. paddingStart causes a crash on Galaxy Tab&Note b/8351339.
10 2. So we wrote a build script(generate_v14_compatible_resources.py) to convert 10 2. So we wrote a build script(generate_v14_compatible_resources.py) to convert
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 <item name="android:textColor">@color/default_text_color</item> 412 <item name="android:textColor">@color/default_text_color</item>
413 <item name="android:textColorLink">@color/light_active_color</item> 413 <item name="android:textColorLink">@color/light_active_color</item>
414 <item name="colorPrimaryDark">@android:color/black</item> 414 <item name="colorPrimaryDark">@android:color/black</item>
415 <item name="colorAccent">@color/light_active_color</item> 415 <item name="colorAccent">@color/light_active_color</item>
416 416
417 <!-- Remove ActionBar --> 417 <!-- Remove ActionBar -->
418 <item name="windowNoTitle">true</item> 418 <item name="windowNoTitle">true</item>
419 <item name="windowActionBar">false</item> 419 <item name="windowActionBar">false</item>
420 </style> 420 </style>
421 421
422 <style name="SigninAlertDialogTheme" parent="AlertDialogTheme">
423 <item name="buttonBarButtonStyle">@style/SigninDialogButtonStyle</item>
424 <item name="android:textColorPrimary">@color/default_text_color</item>
425 </style>
426
427 <style name="SigninDialogButtonStyle" parent="Widget.AppCompat.Button.Button Bar.AlertDialog">
428 <item name="android:textColor">@color/light_active_color</item>
429 </style>
430
422 <!-- Bookmarks --> 431 <!-- Bookmarks -->
423 <style name="BookmarkTitleBarButton"> 432 <style name="BookmarkTitleBarButton">
424 <item name="android:layout_width">wrap_content</item> 433 <item name="android:layout_width">wrap_content</item>
425 <item name="android:layout_height">wrap_content</item> 434 <item name="android:layout_height">wrap_content</item>
426 <item name="android:background">@null</item> 435 <item name="android:background">@null</item>
427 <item name="android:padding">15dp</item> 436 <item name="android:padding">15dp</item>
428 </style> 437 </style>
429 <style name="BookmarkMenuStyle" parent="Widget.AppCompat.ListPopupWindow"> 438 <style name="BookmarkMenuStyle" parent="Widget.AppCompat.ListPopupWindow">
430 <item name="android:popupBackground">@drawable/menu_bg</item> 439 <item name="android:popupBackground">@drawable/menu_bg</item>
431 </style> 440 </style>
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 <item name="android:contentDescription">@null</item> 685 <item name="android:contentDescription">@null</item>
677 <item name="android:scaleType">center</item> 686 <item name="android:scaleType">center</item>
678 <item name="android:background">@color/light_active_color</item> 687 <item name="android:background">@color/light_active_color</item>
679 </style> 688 </style>
680 689
681 <!-- Miscellaneous --> 690 <!-- Miscellaneous -->
682 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa t.Toolbar.Title"> 691 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa t.Toolbar.Title">
683 <item name="android:textSize">20sp</item> 692 <item name="android:textSize">20sp</item>
684 </style> 693 </style>
685 </resources> 694 </resources>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/signin/AccountAdder.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698