| 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 | 476 |
| 477 <!-- Payments UI --> | 477 <!-- Payments UI --> |
| 478 <style name="PaymentsUiSectionHeader"> | 478 <style name="PaymentsUiSectionHeader"> |
| 479 <item name="android:textColor">@color/google_blue_700</item> | 479 <item name="android:textColor">@color/google_blue_700</item> |
| 480 <item name="android:textSize">14sp</item> | 480 <item name="android:textSize">14sp</item> |
| 481 </style> | 481 </style> |
| 482 <style name="PaymentsUiSectionDefaultText"> | 482 <style name="PaymentsUiSectionDefaultText"> |
| 483 <item name="android:textColor">@color/default_text_color</item> | 483 <item name="android:textColor">@color/default_text_color</item> |
| 484 <item name="android:textSize">16sp</item> | 484 <item name="android:textSize">16sp</item> |
| 485 </style> | 485 </style> |
| 486 <style name="PaymentsUiSectionDisabledText"> |
| 487 <item name="android:textColor">@color/explanation_text_color</item> |
| 488 <item name="android:textSize">16sp</item> |
| 489 </style> |
| 486 <style name="PaymentsUiSectionDescriptiveText"> | 490 <style name="PaymentsUiSectionDescriptiveText"> |
| 487 <item name="android:textColor">@color/descriptive_text_color</item> | 491 <item name="android:textColor">@color/descriptive_text_color</item> |
| 488 <item name="android:textSize">14sp</item> | 492 <item name="android:textSize">14sp</item> |
| 489 </style> | 493 </style> |
| 494 <style name="PaymentsUiSectionWarningText"> |
| 495 <item name="android:textColor">@color/error_text_color</item> |
| 496 <item name="android:textSize">14sp</item> |
| 497 </style> |
| 490 <style name="PaymentsUiSectionDescriptiveTextEndAligned" parent="PaymentsUiS
ectionDescriptiveText"> | 498 <style name="PaymentsUiSectionDescriptiveTextEndAligned" parent="PaymentsUiS
ectionDescriptiveText"> |
| 491 <item name="android:textAlignment">viewEnd</item> | 499 <item name="android:textAlignment">viewEnd</item> |
| 492 </style> | 500 </style> |
| 493 <style name="PaymentsUiSectionAddButtonLabel"> | 501 <style name="PaymentsUiSectionAddButtonLabel"> |
| 494 <item name="android:textColor">@color/light_active_color</item> | 502 <item name="android:textColor">@color/light_active_color</item> |
| 495 <item name="android:textSize">14sp</item> | 503 <item name="android:textSize">14sp</item> |
| 496 <item name="android:textAllCaps">true</item> | 504 <item name="android:textAllCaps">true</item> |
| 497 </style> | 505 </style> |
| 498 | 506 |
| 499 <!-- Misc styles --> | 507 <!-- Misc styles --> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 519 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> | 527 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> |
| 520 <item name="android:layout_width">43dp</item> | 528 <item name="android:layout_width">43dp</item> |
| 521 <item name="android:paddingEnd">3.5dp</item> | 529 <item name="android:paddingEnd">3.5dp</item> |
| 522 </style> | 530 </style> |
| 523 <style name="AppMenuItem"> | 531 <style name="AppMenuItem"> |
| 524 <item name="android:paddingStart">16dp</item> | 532 <item name="android:paddingStart">16dp</item> |
| 525 <item name="android:paddingEnd">16dp</item> | 533 <item name="android:paddingEnd">16dp</item> |
| 526 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> | 534 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
| 527 </style> | 535 </style> |
| 528 </resources> | 536 </resources> |
| OLD | NEW |