OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 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 <org.chromium.chrome.browser.preferences.datareduction.DataReductionPromoView | 6 <org.chromium.chrome.browser.preferences.datareduction.DataReductionPromoView |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
9 android:background="#c000" > | 9 android:background="#c000" > |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 android:id="@+id/text_wrapper" | 50 android:id="@+id/text_wrapper" |
51 android:layout_height="wrap_content" | 51 android:layout_height="wrap_content" |
52 android:layout_width="wrap_content" | 52 android:layout_width="wrap_content" |
53 android:orientation="vertical" > | 53 android:orientation="vertical" > |
54 | 54 |
55 <TextView | 55 <TextView |
56 android:layout_height="wrap_content" | 56 android:layout_height="wrap_content" |
57 android:layout_width="match_parent" | 57 android:layout_width="match_parent" |
58 android:layout_marginBottom="8dp" | 58 android:layout_marginBottom="8dp" |
59 android:text="@string/data_reduction_promo_title" | 59 android:text="@string/data_reduction_promo_title" |
60 android:textColor="@color/default_text_color" | |
61 android:textSize="@dimen/data_reduction_promo_title_
text_size" /> | 60 android:textSize="@dimen/data_reduction_promo_title_
text_size" /> |
62 | 61 |
63 <TextView | 62 <TextView |
64 android:layout_height="wrap_content" | 63 android:layout_height="wrap_content" |
65 android:layout_width="match_parent" | 64 android:layout_width="match_parent" |
66 android:layout_marginBottom="30dp" | 65 android:layout_marginBottom="30dp" |
67 android:lineSpacingMultiplier="1.3" | 66 android:lineSpacingMultiplier="1.3" |
68 android:text="@string/data_reduction_promo_summary" | 67 android:text="@string/data_reduction_promo_summary" |
69 android:textColor="#646464" | 68 android:textColor="#646464" |
70 android:textSize="@dimen/data_reduction_promo_normal
_text_size" /> | 69 android:textSize="@dimen/data_reduction_promo_normal
_text_size" /> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 android:layout_height="56dp" | 109 android:layout_height="56dp" |
111 android:layout_width="56dp" | 110 android:layout_width="56dp" |
112 android:layout_alignParentEnd="true" | 111 android:layout_alignParentEnd="true" |
113 android:layout_alignParentTop="true" | 112 android:layout_alignParentTop="true" |
114 android:background="?android:attr/selectableItemBackground" | 113 android:background="?android:attr/selectableItemBackground" |
115 android:contentDescription="@string/close" | 114 android:contentDescription="@string/close" |
116 android:src="@drawable/btn_close" /> | 115 android:src="@drawable/btn_close" /> |
117 | 116 |
118 </RelativeLayout> | 117 </RelativeLayout> |
119 </org.chromium.chrome.browser.preferences.datareduction.DataReductionPromoView> | 118 </org.chromium.chrome.browser.preferences.datareduction.DataReductionPromoView> |
OLD | NEW |