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

Side by Side Diff: chrome/android/java/res/layout/download_item_view.xml

Issue 2365733002: Inherit default text color from MainTheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated CL with android:textColor added through DownloadsActivityTheme as well as reusing style/Pay… Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2016 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 <!-- Represents a single item in the DownloadHistoryAdapterView. --> 6 <!-- Represents a single item in the DownloadHistoryAdapterView. -->
7 <view class="org.chromium.chrome.browser.download.ui.DownloadItemView" 7 <view class="org.chromium.chrome.browser.download.ui.DownloadItemView"
8 xmlns:android="http://schemas.android.com/apk/res/android" 8 xmlns:android="http://schemas.android.com/apk/res/android"
9 android:layout_width="wrap_content" 9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content" > 10 android:layout_height="wrap_content" >
(...skipping 20 matching lines...) Expand all
31 android:background="@color/light_active_color" /> 31 android:background="@color/light_active_color" />
32 32
33 <TextView 33 <TextView
34 android:id="@+id/filename_view" 34 android:id="@+id/filename_view"
35 android:layout_width="wrap_content" 35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content" 36 android:layout_height="wrap_content"
37 android:layout_alignParentTop="true" 37 android:layout_alignParentTop="true"
38 android:layout_alignParentEnd="true" 38 android:layout_alignParentEnd="true"
39 android:layout_toEndOf="@+id/icon_view" 39 android:layout_toEndOf="@+id/icon_view"
40 android:singleLine="true" 40 android:singleLine="true"
41 android:textColor="@color/default_text_color"
42 android:textSize="16sp" /> 41 android:textSize="16sp" />
43 42
44 <TextView 43 <TextView
45 android:id="@+id/hostname_view" 44 android:id="@+id/hostname_view"
46 android:layout_width="0dp" 45 android:layout_width="0dp"
47 android:layout_height="wrap_content" 46 android:layout_height="wrap_content"
48 android:layout_alignParentBottom="true" 47 android:layout_alignParentBottom="true"
49 android:layout_toEndOf="@+id/icon_view" 48 android:layout_toEndOf="@+id/icon_view"
50 android:layout_toStartOf="@+id/filesize_view" 49 android:layout_toStartOf="@+id/filesize_view"
51 android:layout_below="@+id/filename_view" 50 android:layout_below="@+id/filename_view"
(...skipping 11 matching lines...) Expand all
63 android:layout_alignParentBottom="true" 62 android:layout_alignParentBottom="true"
64 android:layout_alignParentEnd="true" 63 android:layout_alignParentEnd="true"
65 android:layout_below="@+id/filename_view" 64 android:layout_below="@+id/filename_view"
66 android:layout_marginTop="0dp" 65 android:layout_marginTop="0dp"
67 android:textAlignment="viewEnd" 66 android:textAlignment="viewEnd"
68 android:textColor="@color/google_grey_600" 67 android:textColor="@color/google_grey_600"
69 android:singleLine="true" /> 68 android:singleLine="true" />
70 </RelativeLayout> 69 </RelativeLayout>
71 70
72 </view> 71 </view>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698