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

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

Issue 1526323003: Add Physical Web opt-in dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused namespace in layout xml Created 5 years 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
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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 <item name="android:textColor">#CCC</item> 439 <item name="android:textColor">#CCC</item>
440 <item name="android:textSize">@dimen/contextual_search_text_size</item> 440 <item name="android:textSize">@dimen/contextual_search_text_size</item>
441 </style> 441 </style>
442 442
443 <!-- Physical Web styles --> 443 <!-- Physical Web styles -->
444 <style name="PhysicalWebNearbyUrlsListStyle" parent="Theme.AppCompat.Light"> 444 <style name="PhysicalWebNearbyUrlsListStyle" parent="Theme.AppCompat.Light">
445 <item name="android:windowBackground">@android:color/white</item> 445 <item name="android:windowBackground">@android:color/white</item>
446 <item name="android:layout_width">match_parent</item> 446 <item name="android:layout_width">match_parent</item>
447 <item name="android:layout_height">match_parent</item> 447 <item name="android:layout_height">match_parent</item>
448 </style> 448 </style>
449 <style name="PhysicalWebOptInStyle" parent="Theme.AppCompat.Light">
450 <item name="android:windowBackground">@android:color/white</item>
451 <item name="windowNoTitle">true</item>
452 <item name="windowActionBar">false</item>
453 <item name="android:windowContentOverlay">@null</item>
454 </style>
449 455
450 <!-- Misc styles --> 456 <!-- Misc styles -->
451 <style name="SnackbarAnimation"> 457 <style name="SnackbarAnimation">
452 <item name="android:windowEnterAnimation">@anim/snackbar_in</item> 458 <item name="android:windowEnterAnimation">@anim/snackbar_in</item>
453 <item name="android:windowExitAnimation">@anim/snackbar_out</item> 459 <item name="android:windowExitAnimation">@anim/snackbar_out</item>
454 </style> 460 </style>
455 <style name="SnackbarAnimationWithKeyboard"> 461 <style name="SnackbarAnimationWithKeyboard">
456 <item name="android:windowEnterAnimation">@anim/snackbar_in_with_keyboar d</item> 462 <item name="android:windowEnterAnimation">@anim/snackbar_in_with_keyboar d</item>
457 <item name="android:windowExitAnimation">@anim/snackbar_out</item> 463 <item name="android:windowExitAnimation">@anim/snackbar_out</item>
458 </style> 464 </style>
(...skipping 14 matching lines...) Expand all
473 <style name="UpdateMenuBadge"> 479 <style name="UpdateMenuBadge">
474 <item name="android:layout_height">@dimen/menu_badge_size</item> 480 <item name="android:layout_height">@dimen/menu_badge_size</item>
475 <item name="android:layout_width">@dimen/menu_badge_size</item> 481 <item name="android:layout_width">@dimen/menu_badge_size</item>
476 <item name="android:layout_gravity">end|bottom</item> 482 <item name="android:layout_gravity">end|bottom</item>
477 <item name="android:layout_marginBottom">14dp</item> 483 <item name="android:layout_marginBottom">14dp</item>
478 <item name="android:focusable">false</item> 484 <item name="android:focusable">false</item>
479 <item name="android:importantForAccessibility">no</item> 485 <item name="android:importantForAccessibility">no</item>
480 <item name="android:visibility">invisible</item> 486 <item name="android:visibility">invisible</item>
481 </style> 487 </style>
482 </resources> 488 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698