| 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 xmlns:tools="http://schemas.android.com/tools" | 7 xmlns:tools="http://schemas.android.com/tools" |
| 8 android:id="@+id/data_reduction_stats_container" | 8 android:id="@+id/data_reduction_stats_container" |
| 9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
| 10 android:layout_height="wrap_content" | 10 android:layout_height="wrap_content" |
| 11 android:clipChildren="false" | 11 android:clipChildren="false" |
| 12 android:clipToPadding="false" | 12 android:clipToPadding="false" |
| 13 android:orientation="vertical" > | 13 android:orientation="vertical" > |
| 14 | 14 |
| 15 <TextView | 15 <TextView |
| 16 android:layout_width="match_parent" | 16 android:layout_width="match_parent" |
| 17 android:layout_height="wrap_content" | 17 android:layout_height="wrap_content" |
| 18 android:fadingEdge="horizontal" | 18 android:fadingEdge="horizontal" |
| 19 android:text="@string/data_reduction_stats_title" | 19 android:text="@string/data_reduction_stats_title" |
| 20 android:textAppearance="@style/PreferenceCategoryTextStyle" /> | 20 android:textAppearance="@style/PreferenceCategoryTextStyle" /> |
| 21 | 21 |
| 22 <include layout="@layout/data_usage_chart" /> | 22 <include layout="@layout/data_usage_chart" /> |
| 23 | 23 |
| 24 <LinearLayout | 24 <FrameLayout |
| 25 android:layout_width="match_parent" | 25 android:layout_width="match_parent" |
| 26 android:layout_height="wrap_content" > | 26 android:layout_height="wrap_content" > |
| 27 | 27 |
| 28 <TextView | 28 <TextView |
| 29 android:id="@+id/data_reduction_start_date" | 29 android:id="@+id/data_reduction_start_date" |
| 30 android:layout_width="0dp" | 30 android:layout_width="wrap_content" |
| 31 android:layout_height="wrap_content" | 31 android:layout_height="wrap_content" |
| 32 android:layout_weight="1" | |
| 33 android:textAppearance="@style/PreferenceSummary" | 32 android:textAppearance="@style/PreferenceSummary" |
| 34 android:textSize="14sp" /> | 33 android:textSize="14sp" /> |
| 35 | 34 |
| 36 <TextView | 35 <TextView |
| 37 android:id="@+id/data_reduction_end_date" | 36 android:id="@+id/data_reduction_end_date" |
| 38 android:layout_width="wrap_content" | 37 android:layout_width="wrap_content" |
| 39 android:layout_height="wrap_content" | 38 android:layout_height="wrap_content" |
| 40 android:textAppearance="@style/PreferenceSummary" | 39 android:textAppearance="@style/PreferenceSummary" |
| 41 android:textSize="14sp" /> | 40 android:textSize="14sp" /> |
| 42 | 41 |
| 43 </LinearLayout> | 42 </FrameLayout> |
| 44 | 43 |
| 45 <LinearLayout | 44 <LinearLayout |
| 46 android:layout_width="match_parent" | 45 android:layout_width="match_parent" |
| 47 android:layout_height="wrap_content" | 46 android:layout_height="wrap_content" |
| 48 android:orientation="horizontal" > | 47 android:orientation="horizontal" > |
| 49 | 48 |
| 50 <TextView | 49 <TextView |
| 51 android:id="@+id/data_reduction_percent" | 50 android:id="@+id/data_reduction_percent" |
| 52 android:layout_height="wrap_content" | 51 android:layout_height="wrap_content" |
| 53 android:layout_width="wrap_content" | 52 android:layout_width="wrap_content" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 android:layout_height="wrap_content" | 122 android:layout_height="wrap_content" |
| 124 android:layout_marginBottom="20dp" | 123 android:layout_marginBottom="20dp" |
| 125 android:layout_marginTop="20dp" | 124 android:layout_marginTop="20dp" |
| 126 android:drawableStart="@drawable/exclamation_triangle" | 125 android:drawableStart="@drawable/exclamation_triangle" |
| 127 android:drawablePadding="6dp" | 126 android:drawablePadding="6dp" |
| 128 android:text="@string/data_reduction_proxy_unreachable_warn" | 127 android:text="@string/data_reduction_proxy_unreachable_warn" |
| 129 android:textColor="?android:attr/textColorPrimary" | 128 android:textColor="?android:attr/textColorPrimary" |
| 130 android:textSize="14sp" /> | 129 android:textSize="14sp" /> |
| 131 | 130 |
| 132 </LinearLayout> | 131 </LinearLayout> |
| OLD | NEW |