| OLD | NEW |
| 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 | 448 |
| 449 <!-- Payments UI --> | 449 <!-- Payments UI --> |
| 450 <style name="PaymentsUiSectionHeader"> | 450 <style name="PaymentsUiSectionHeader"> |
| 451 <item name="android:textColor">@color/google_blue_700</item> | 451 <item name="android:textColor">@color/google_blue_700</item> |
| 452 <item name="android:textSize">14sp</item> | 452 <item name="android:textSize">14sp</item> |
| 453 </style> | 453 </style> |
| 454 <style name="PaymentsUiSectionDefaultText"> | 454 <style name="PaymentsUiSectionDefaultText"> |
| 455 <item name="android:textColor">@color/default_text_color</item> | 455 <item name="android:textColor">@color/default_text_color</item> |
| 456 <item name="android:textSize">16sp</item> | 456 <item name="android:textSize">16sp</item> |
| 457 </style> | 457 </style> |
| 458 <style name="PaymentsUiSectionDisabledText"> |
| 459 <item name="android:textColor">@color/disabled_text_color</item> |
| 460 <item name="android:textSize">16sp</item> |
| 461 </style> |
| 458 <style name="PaymentsUiSectionDescriptiveText"> | 462 <style name="PaymentsUiSectionDescriptiveText"> |
| 459 <item name="android:textColor">@color/descriptive_text_color</item> | 463 <item name="android:textColor">@color/descriptive_text_color</item> |
| 460 <item name="android:textSize">14sp</item> | 464 <item name="android:textSize">14sp</item> |
| 461 </style> | 465 </style> |
| 466 <style name="PaymentsUiSectionWarningText"> |
| 467 <item name="android:textColor">@color/error_text_color</item> |
| 468 <item name="android:textSize">14sp</item> |
| 469 </style> |
| 462 <style name="PaymentsUiSectionDescriptiveTextEndAligned" parent="PaymentsUiS
ectionDescriptiveText"> | 470 <style name="PaymentsUiSectionDescriptiveTextEndAligned" parent="PaymentsUiS
ectionDescriptiveText"> |
| 463 <item name="android:textAlignment">viewEnd</item> | 471 <item name="android:textAlignment">viewEnd</item> |
| 464 </style> | 472 </style> |
| 465 <style name="PaymentsUiSectionAddButtonLabel"> | 473 <style name="PaymentsUiSectionAddButtonLabel"> |
| 466 <item name="android:textColor">@color/light_active_color</item> | 474 <item name="android:textColor">@color/light_active_color</item> |
| 467 <item name="android:textSize">14sp</item> | 475 <item name="android:textSize">14sp</item> |
| 468 <item name="android:textAllCaps">true</item> | 476 <item name="android:textAllCaps">true</item> |
| 469 </style> | 477 </style> |
| 470 | 478 |
| 471 <!-- Misc styles --> | 479 <!-- Misc styles --> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 491 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> | 499 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> |
| 492 <item name="android:layout_width">43dp</item> | 500 <item name="android:layout_width">43dp</item> |
| 493 <item name="android:paddingEnd">3.5dp</item> | 501 <item name="android:paddingEnd">3.5dp</item> |
| 494 </style> | 502 </style> |
| 495 <style name="AppMenuItem"> | 503 <style name="AppMenuItem"> |
| 496 <item name="android:paddingStart">16dp</item> | 504 <item name="android:paddingStart">16dp</item> |
| 497 <item name="android:paddingEnd">16dp</item> | 505 <item name="android:paddingEnd">16dp</item> |
| 498 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> | 506 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
| 499 </style> | 507 </style> |
| 500 </resources> | 508 </resources> |
| OLD | NEW |