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

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

Issue 1759483002: [Snackbar] Replace popup window with views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 9 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
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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 <item name="android:layout_height">match_parent</item> 417 <item name="android:layout_height">match_parent</item>
418 </style> 418 </style>
419 <style name="PhysicalWebOptInStyle" parent="Theme.AppCompat.Light"> 419 <style name="PhysicalWebOptInStyle" parent="Theme.AppCompat.Light">
420 <item name="android:windowBackground">@android:color/white</item> 420 <item name="android:windowBackground">@android:color/white</item>
421 <item name="windowNoTitle">true</item> 421 <item name="windowNoTitle">true</item>
422 <item name="windowActionBar">false</item> 422 <item name="windowActionBar">false</item>
423 <item name="android:windowContentOverlay">@null</item> 423 <item name="android:windowContentOverlay">@null</item>
424 </style> 424 </style>
425 425
426 <!-- Misc styles --> 426 <!-- Misc styles -->
427 <style name="SnackbarAnimation">
428 <item name="android:windowEnterAnimation">@anim/snackbar_in</item>
429 <item name="android:windowExitAnimation">@anim/snackbar_out</item>
430 </style>
431 <style name="SnackbarAnimationWithKeyboard">
432 <item name="android:windowEnterAnimation">@anim/snackbar_in_with_keyboar d</item>
433 <item name="android:windowExitAnimation">@anim/snackbar_out</item>
434 </style>
435 <style name="LocationBarButton"> 427 <style name="LocationBarButton">
436 <item name="android:background">@null</item> 428 <item name="android:background">@null</item>
437 </style> 429 </style>
438 <style name="LocationBarMenuButton" parent="LocationBarButton"> 430 <style name="LocationBarMenuButton" parent="LocationBarButton">
439 <item name="android:layout_height">match_parent</item> 431 <item name="android:layout_height">match_parent</item>
440 <item name="android:layout_width">match_parent</item> 432 <item name="android:layout_width">match_parent</item>
441 </style> 433 </style>
442 <style name="ToolbarButton"> 434 <style name="ToolbarButton">
443 <item name="android:background">?attr/selectableItemBackground</item> 435 <item name="android:background">?attr/selectableItemBackground</item>
444 <item name="android:layout_width">48dp</item> 436 <item name="android:layout_width">48dp</item>
445 <item name="android:layout_height">56dp</item> 437 <item name="android:layout_height">56dp</item>
446 <item name="android:scaleType">center</item> 438 <item name="android:scaleType">center</item>
447 </style> 439 </style>
448 <style name="ToolbarMenuButtonPhone" parent="ToolbarButton"> 440 <style name="ToolbarMenuButtonPhone" parent="ToolbarButton">
449 <item name="android:layout_gravity">top</item> 441 <item name="android:layout_gravity">top</item>
450 <item name="android:layout_width">42dp</item> 442 <item name="android:layout_width">42dp</item>
451 <item name="android:paddingEnd">4dp</item> 443 <item name="android:paddingEnd">4dp</item>
452 <item name="android:background">@null</item> 444 <item name="android:background">@null</item>
453 </style> 445 </style>
454 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> 446 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton">
455 <item name="android:layout_width">43dp</item> 447 <item name="android:layout_width">43dp</item>
456 <item name="android:paddingEnd">3.5dp</item> 448 <item name="android:paddingEnd">3.5dp</item>
457 </style> 449 </style>
458 <style name="AppMenuItem"> 450 <style name="AppMenuItem">
459 <item name="android:paddingStart">16dp</item> 451 <item name="android:paddingStart">16dp</item>
460 <item name="android:paddingEnd">16dp</item> 452 <item name="android:paddingEnd">16dp</item>
461 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m> 453 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m>
462 </style> 454 </style>
463 </resources> 455 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698