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

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

Issue 2809923003: [Home] Add a Chrome Home specific incognito NTP (Closed)
Patch Set: [Home] Add a Chrome Home specific incognito NTP Created 3 years, 8 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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 <item name="android:textStyle">bold</item> 572 <item name="android:textStyle">bold</item>
573 </style> 573 </style>
574 <style name="NumberRollTextViewStyle"> 574 <style name="NumberRollTextViewStyle">
575 <item name="android:layout_width">wrap_content</item> 575 <item name="android:layout_width">wrap_content</item>
576 <item name="android:layout_height">wrap_content</item> 576 <item name="android:layout_height">wrap_content</item>
577 <item name="android:layout_gravity">center_vertical</item> 577 <item name="android:layout_gravity">center_vertical</item>
578 <item name="android:singleLine">true</item> 578 <item name="android:singleLine">true</item>
579 <item name="android:textColor">@android:color/white</item> 579 <item name="android:textColor">@android:color/white</item>
580 <item name="android:textSize">20sp</item> 580 <item name="android:textSize">20sp</item>
581 </style> 581 </style>
582 <style name="PrivacyDisclaimerText"> 582 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa t.Toolbar.Title">
583 <item name="android:layout_width">match_parent</item> 583 <item name="android:textSize">20sp</item>
584 <item name="android:layout_height">wrap_content</item>
585 <item name="android:layout_marginTop">6dp</item>
586 <item name="android:lineSpacingExtra">6sp</item>
587 <item name="android:textSize">14sp</item>
588 <item name="android:visibility">gone</item>
589 </style> 584 </style>
590 585
591 <!-- New tab page RecyclerView overscroll color --> 586 <!-- New tab page RecyclerView overscroll color -->
592 <style name="NewTabPageRecyclerView"> 587 <style name="NewTabPageRecyclerView">
593 <item name="android:colorEdgeEffect">@color/google_grey_300</item> 588 <item name="android:colorEdgeEffect">@color/google_grey_300</item>
594 </style> 589 </style>
595 590
596 <!-- History UI --> 591 <!-- History UI -->
597 <style name="HistoryStartIcon"> 592 <style name="HistoryStartIcon">
598 <item name="android:layout_width">@dimen/selectable_list_layout_start_ic on_width</item> 593 <item name="android:layout_width">@dimen/selectable_list_layout_start_ic on_width</item>
599 <item name="android:layout_height">match_parent</item> 594 <item name="android:layout_height">match_parent</item>
600 <item name="android:scaleType">center</item> 595 <item name="android:scaleType">center</item>
601 </style> 596 </style>
602 <style name="HistoryEndIcon"> 597 <style name="HistoryEndIcon">
603 <item name="android:layout_width">wrap_content</item> 598 <item name="android:layout_width">wrap_content</item>
604 <item name="android:layout_height">match_parent</item> 599 <item name="android:layout_height">match_parent</item>
605 <item name="android:paddingStart">16dp</item> 600 <item name="android:paddingStart">16dp</item>
606 <item name="android:background">@null</item> 601 <item name="android:background">@null</item>
607 <item name="android:scaleType">center</item> 602 <item name="android:scaleType">center</item>
608 <item name="android:paddingEnd">@dimen/selectable_list_layout_row_end_pa dding</item> 603 <item name="android:paddingEnd">@dimen/selectable_list_layout_row_end_pa dding</item>
609 </style> 604 </style>
605 <style name="PrivacyDisclaimerText">
606 <item name="android:layout_width">match_parent</item>
607 <item name="android:layout_height">wrap_content</item>
608 <item name="android:layout_marginTop">6dp</item>
609 <item name="android:lineSpacingExtra">6sp</item>
610 <item name="android:textSize">14sp</item>
611 <item name="android:visibility">gone</item>
612 </style>
610 613
611 <!-- Download Home --> 614 <!-- Download Home -->
612 <style name="DownloadHomeStatusText"> 615 <style name="DownloadHomeStatusText">
613 <item name="android:layout_width">wrap_content</item> 616 <item name="android:layout_width">wrap_content</item>
614 <item name="android:layout_height">wrap_content</item> 617 <item name="android:layout_height">wrap_content</item>
615 <item name="android:layout_marginTop">0dp</item> 618 <item name="android:layout_marginTop">0dp</item>
616 <item name="android:minHeight">18dp</item> 619 <item name="android:minHeight">18dp</item>
617 <item name="android:textColor">@color/google_grey_600</item> 620 <item name="android:textColor">@color/google_grey_600</item>
618 <item name="android:textSize">12sp</item> 621 <item name="android:textSize">12sp</item>
619 <item name="android:ellipsize">start</item> 622 <item name="android:ellipsize">start</item>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 </style> 695 </style>
693 <style name="DataUsageBreakdownColumnItem"> 696 <style name="DataUsageBreakdownColumnItem">
694 <item name="android:layout_height">wrap_content</item> 697 <item name="android:layout_height">wrap_content</item>
695 <item name="android:paddingBottom">10dp</item> 698 <item name="android:paddingBottom">10dp</item>
696 <item name="android:paddingTop">10dp</item> 699 <item name="android:paddingTop">10dp</item>
697 <item name="android:singleLine">true</item> 700 <item name="android:singleLine">true</item>
698 <item name="android:textColor">@color/data_reduction_breakdown_text_colo r</item> 701 <item name="android:textColor">@color/data_reduction_breakdown_text_colo r</item>
699 <item name="android:textSize">12sp</item> 702 <item name="android:textSize">12sp</item>
700 </style> 703 </style>
701 704
702 <!-- Miscellaneous --> 705 <!-- Incognito New Tab Page -->
703 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa t.Toolbar.Title"> 706 <style name="IncognitoNewTabMessage">
704 <item name="android:textSize">20sp</item> 707 <item name="android:maxWidth">660dp</item>
708 <item name="android:textSize">14sp</item>
709 <item name="android:lineSpacingMultiplier">1.2</item>
705 </style> 710 </style>
711 <style name="IncognitoNewTabLearnMoreLink">
712 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m>
713 <item name="android:clickable">true</item>
714 <item name="android:focusable">true</item>
715 <item name="android:textSize">14sp</item>
716 <item name="android:textAllCaps">true</item>
717 <item name="android:padding">16dp</item>
718 </style>
719
706 </resources> 720 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/new_tab_page_incognito.xml ('k') | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698