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

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: rebase 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 <item name="android:layout_height">match_parent</item> 427 <item name="android:layout_height">match_parent</item>
428 </style> 428 </style>
429 <style name="PhysicalWebOptInStyle" parent="Theme.AppCompat.Light"> 429 <style name="PhysicalWebOptInStyle" parent="Theme.AppCompat.Light">
430 <item name="android:windowBackground">@android:color/white</item> 430 <item name="android:windowBackground">@android:color/white</item>
431 <item name="windowNoTitle">true</item> 431 <item name="windowNoTitle">true</item>
432 <item name="windowActionBar">false</item> 432 <item name="windowActionBar">false</item>
433 <item name="android:windowContentOverlay">@null</item> 433 <item name="android:windowContentOverlay">@null</item>
434 </style> 434 </style>
435 435
436 <!-- Misc styles --> 436 <!-- Misc styles -->
437 <style name="SnackbarAnimation">
438 <item name="android:windowEnterAnimation">@anim/snackbar_in</item>
439 <item name="android:windowExitAnimation">@anim/snackbar_out</item>
440 </style>
441 <style name="SnackbarAnimationWithKeyboard">
442 <item name="android:windowEnterAnimation">@anim/snackbar_in_with_keyboar d</item>
443 <item name="android:windowExitAnimation">@anim/snackbar_out</item>
444 </style>
445 <style name="LocationBarButton"> 437 <style name="LocationBarButton">
446 <item name="android:background">@null</item> 438 <item name="android:background">@null</item>
447 </style> 439 </style>
448 <style name="LocationBarMenuButton" parent="LocationBarButton"> 440 <style name="LocationBarMenuButton" parent="LocationBarButton">
449 <item name="android:layout_height">match_parent</item> 441 <item name="android:layout_height">match_parent</item>
450 <item name="android:layout_width">match_parent</item> 442 <item name="android:layout_width">match_parent</item>
451 </style> 443 </style>
452 <style name="ToolbarButton"> 444 <style name="ToolbarButton">
453 <item name="android:background">?attr/selectableItemBackground</item> 445 <item name="android:background">?attr/selectableItemBackground</item>
454 <item name="android:layout_width">48dp</item> 446 <item name="android:layout_width">48dp</item>
455 <item name="android:layout_height">56dp</item> 447 <item name="android:layout_height">56dp</item>
456 <item name="android:scaleType">center</item> 448 <item name="android:scaleType">center</item>
457 </style> 449 </style>
458 <style name="ToolbarMenuButtonPhone" parent="ToolbarButton"> 450 <style name="ToolbarMenuButtonPhone" parent="ToolbarButton">
459 <item name="android:layout_gravity">top</item> 451 <item name="android:layout_gravity">top</item>
460 <item name="android:layout_width">42dp</item> 452 <item name="android:layout_width">42dp</item>
461 <item name="android:paddingEnd">4dp</item> 453 <item name="android:paddingEnd">4dp</item>
462 <item name="android:background">@null</item> 454 <item name="android:background">@null</item>
463 </style> 455 </style>
464 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> 456 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton">
465 <item name="android:layout_width">43dp</item> 457 <item name="android:layout_width">43dp</item>
466 <item name="android:paddingEnd">3.5dp</item> 458 <item name="android:paddingEnd">3.5dp</item>
467 </style> 459 </style>
468 <style name="AppMenuItem"> 460 <style name="AppMenuItem">
469 <item name="android:paddingStart">16dp</item> 461 <item name="android:paddingStart">16dp</item>
470 <item name="android:paddingEnd">16dp</item> 462 <item name="android:paddingEnd">16dp</item>
471 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m> 463 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m>
472 </style> 464 </style>
473 </resources> 465 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/values-sw600dp/dimens.xml ('k') | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698