diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 37adc02348c..8369672be6a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1659,7 +1659,7 @@ diff --git a/res/drawable-hdpi/data_grid_border.9.png b/res/drawable-hdpi/data_grid_border.9.png index a857faeb38d..8d22e1015fa 100644 Binary files a/res/drawable-hdpi/data_grid_border.9.png and b/res/drawable-hdpi/data_grid_border.9.png differ diff --git a/res/drawable-hdpi/data_grid_primary.9.png b/res/drawable-hdpi/data_grid_primary.9.png deleted file mode 100644 index 93bdc6b7918..00000000000 Binary files a/res/drawable-hdpi/data_grid_primary.9.png and /dev/null differ diff --git a/res/drawable-hdpi/data_grid_secondary.9.png b/res/drawable-hdpi/data_grid_secondary.9.png deleted file mode 100644 index 23330d1770a..00000000000 Binary files a/res/drawable-hdpi/data_grid_secondary.9.png and /dev/null differ diff --git a/res/drawable-hdpi/data_sweep_left_activated.9.png b/res/drawable-hdpi/data_sweep_left_activated.9.png deleted file mode 100644 index 7a18e204bde..00000000000 Binary files a/res/drawable-hdpi/data_sweep_left_activated.9.png and /dev/null differ diff --git a/res/drawable-hdpi/data_sweep_left_default.9.png b/res/drawable-hdpi/data_sweep_left_default.9.png deleted file mode 100644 index 50881507aba..00000000000 Binary files a/res/drawable-hdpi/data_sweep_left_default.9.png and /dev/null differ diff --git a/res/drawable-hdpi/data_sweep_limit_activated.9.png b/res/drawable-hdpi/data_sweep_limit_activated.9.png index 36be41aaba1..598ebd3d8e6 100644 Binary files a/res/drawable-hdpi/data_sweep_limit_activated.9.png and b/res/drawable-hdpi/data_sweep_limit_activated.9.png differ diff --git a/res/drawable-hdpi/data_sweep_limit_default.9.png b/res/drawable-hdpi/data_sweep_limit_default.9.png deleted file mode 100644 index 658d1d9cb5a..00000000000 Binary files a/res/drawable-hdpi/data_sweep_limit_default.9.png and /dev/null differ diff --git a/res/drawable-hdpi/data_sweep_right_activated.9.png b/res/drawable-hdpi/data_sweep_right_activated.9.png deleted file mode 100644 index 96ffbf6cccc..00000000000 Binary files a/res/drawable-hdpi/data_sweep_right_activated.9.png and /dev/null differ diff --git a/res/drawable-hdpi/data_sweep_right_default.9.png b/res/drawable-hdpi/data_sweep_right_default.9.png deleted file mode 100644 index 22831a93025..00000000000 Binary files a/res/drawable-hdpi/data_sweep_right_default.9.png and /dev/null differ diff --git a/res/drawable-hdpi/data_sweep_warning_activated.9.png b/res/drawable-hdpi/data_sweep_warning_activated.9.png index 83b8a656642..b10dff606a4 100644 Binary files a/res/drawable-hdpi/data_sweep_warning_activated.9.png and b/res/drawable-hdpi/data_sweep_warning_activated.9.png differ diff --git a/res/drawable-hdpi/data_sweep_warning_default.9.png b/res/drawable-hdpi/data_sweep_warning_default.9.png deleted file mode 100644 index 3b2c1a710f3..00000000000 Binary files a/res/drawable-hdpi/data_sweep_warning_default.9.png and /dev/null differ diff --git a/res/drawable-mdpi/data_grid_border.9.png b/res/drawable-mdpi/data_grid_border.9.png index 699c513a5c2..942f4ea10c8 100644 Binary files a/res/drawable-mdpi/data_grid_border.9.png and b/res/drawable-mdpi/data_grid_border.9.png differ diff --git a/res/drawable-mdpi/data_grid_primary.9.png b/res/drawable-mdpi/data_grid_primary.9.png deleted file mode 100644 index 83411cf725a..00000000000 Binary files a/res/drawable-mdpi/data_grid_primary.9.png and /dev/null differ diff --git a/res/drawable-mdpi/data_grid_secondary.9.png b/res/drawable-mdpi/data_grid_secondary.9.png deleted file mode 100644 index 23330d1770a..00000000000 Binary files a/res/drawable-mdpi/data_grid_secondary.9.png and /dev/null differ diff --git a/res/drawable-mdpi/data_sweep_left_activated.9.png b/res/drawable-mdpi/data_sweep_left_activated.9.png deleted file mode 100644 index 10c0687573d..00000000000 Binary files a/res/drawable-mdpi/data_sweep_left_activated.9.png and /dev/null differ diff --git a/res/drawable-mdpi/data_sweep_left_default.9.png b/res/drawable-mdpi/data_sweep_left_default.9.png deleted file mode 100644 index 397c45948d2..00000000000 Binary files a/res/drawable-mdpi/data_sweep_left_default.9.png and /dev/null differ diff --git a/res/drawable-mdpi/data_sweep_limit_activated.9.png b/res/drawable-mdpi/data_sweep_limit_activated.9.png index 924384ffb69..f2be5eab4ba 100644 Binary files a/res/drawable-mdpi/data_sweep_limit_activated.9.png and b/res/drawable-mdpi/data_sweep_limit_activated.9.png differ diff --git a/res/drawable-mdpi/data_sweep_limit_default.9.png b/res/drawable-mdpi/data_sweep_limit_default.9.png deleted file mode 100644 index 2b8c4cb780c..00000000000 Binary files a/res/drawable-mdpi/data_sweep_limit_default.9.png and /dev/null differ diff --git a/res/drawable-mdpi/data_sweep_right_activated.9.png b/res/drawable-mdpi/data_sweep_right_activated.9.png deleted file mode 100644 index 5dfe594bd3a..00000000000 Binary files a/res/drawable-mdpi/data_sweep_right_activated.9.png and /dev/null differ diff --git a/res/drawable-mdpi/data_sweep_right_default.9.png b/res/drawable-mdpi/data_sweep_right_default.9.png deleted file mode 100644 index 5b8e10843ac..00000000000 Binary files a/res/drawable-mdpi/data_sweep_right_default.9.png and /dev/null differ diff --git a/res/drawable-mdpi/data_sweep_warning_activated.9.png b/res/drawable-mdpi/data_sweep_warning_activated.9.png index 97f93da113b..cd795d294e6 100644 Binary files a/res/drawable-mdpi/data_sweep_warning_activated.9.png and b/res/drawable-mdpi/data_sweep_warning_activated.9.png differ diff --git a/res/drawable-mdpi/data_sweep_warning_default.9.png b/res/drawable-mdpi/data_sweep_warning_default.9.png deleted file mode 100644 index 5f65750e8b7..00000000000 Binary files a/res/drawable-mdpi/data_sweep_warning_default.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/data_grid_border.9.png b/res/drawable-xhdpi/data_grid_border.9.png index 7557115beac..6d552882ceb 100644 Binary files a/res/drawable-xhdpi/data_grid_border.9.png and b/res/drawable-xhdpi/data_grid_border.9.png differ diff --git a/res/drawable-xhdpi/data_grid_primary.9.png b/res/drawable-xhdpi/data_grid_primary.9.png deleted file mode 100644 index ff69fd814da..00000000000 Binary files a/res/drawable-xhdpi/data_grid_primary.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/data_grid_secondary.9.png b/res/drawable-xhdpi/data_grid_secondary.9.png deleted file mode 100644 index 09065bf954e..00000000000 Binary files a/res/drawable-xhdpi/data_grid_secondary.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/data_sweep_left_activated.9.png b/res/drawable-xhdpi/data_sweep_left_activated.9.png deleted file mode 100644 index bcd91f8a8fa..00000000000 Binary files a/res/drawable-xhdpi/data_sweep_left_activated.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/data_sweep_left_default.9.png b/res/drawable-xhdpi/data_sweep_left_default.9.png deleted file mode 100644 index 4abe6cddf9b..00000000000 Binary files a/res/drawable-xhdpi/data_sweep_left_default.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/data_sweep_limit_activated.9.png b/res/drawable-xhdpi/data_sweep_limit_activated.9.png index 24ac5712c54..8f1e4961811 100644 Binary files a/res/drawable-xhdpi/data_sweep_limit_activated.9.png and b/res/drawable-xhdpi/data_sweep_limit_activated.9.png differ diff --git a/res/drawable-xhdpi/data_sweep_limit_default.9.png b/res/drawable-xhdpi/data_sweep_limit_default.9.png deleted file mode 100644 index 9ce466a2ff8..00000000000 Binary files a/res/drawable-xhdpi/data_sweep_limit_default.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/data_sweep_right_activated.9.png b/res/drawable-xhdpi/data_sweep_right_activated.9.png deleted file mode 100644 index 0a3f2dbb94b..00000000000 Binary files a/res/drawable-xhdpi/data_sweep_right_activated.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/data_sweep_right_default.9.png b/res/drawable-xhdpi/data_sweep_right_default.9.png deleted file mode 100644 index 1f2977827fe..00000000000 Binary files a/res/drawable-xhdpi/data_sweep_right_default.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/data_sweep_warning_activated.9.png b/res/drawable-xhdpi/data_sweep_warning_activated.9.png index b6242281025..cfc92e1641d 100644 Binary files a/res/drawable-xhdpi/data_sweep_warning_activated.9.png and b/res/drawable-xhdpi/data_sweep_warning_activated.9.png differ diff --git a/res/drawable-xhdpi/data_sweep_warning_default.9.png b/res/drawable-xhdpi/data_sweep_warning_default.9.png deleted file mode 100644 index b79e811cdb1..00000000000 Binary files a/res/drawable-xhdpi/data_sweep_warning_default.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/data_grid_border.9.png b/res/drawable-xxhdpi/data_grid_border.9.png new file mode 100644 index 00000000000..d33a7d7a6b9 Binary files /dev/null and b/res/drawable-xxhdpi/data_grid_border.9.png differ diff --git a/res/drawable-xxhdpi/data_sweep_limit_activated.9.png b/res/drawable-xxhdpi/data_sweep_limit_activated.9.png new file mode 100644 index 00000000000..0457329a909 Binary files /dev/null and b/res/drawable-xxhdpi/data_sweep_limit_activated.9.png differ diff --git a/res/drawable-xxhdpi/data_sweep_warning_activated.9.png b/res/drawable-xxhdpi/data_sweep_warning_activated.9.png new file mode 100644 index 00000000000..670bc195ec7 Binary files /dev/null and b/res/drawable-xxhdpi/data_sweep_warning_activated.9.png differ diff --git a/res/drawable-xxxhdpi/data_grid_border.9.png b/res/drawable-xxxhdpi/data_grid_border.9.png new file mode 100644 index 00000000000..4ddd2229791 Binary files /dev/null and b/res/drawable-xxxhdpi/data_grid_border.9.png differ diff --git a/res/drawable-xxxhdpi/data_sweep_limit_activated.9.png b/res/drawable-xxxhdpi/data_sweep_limit_activated.9.png new file mode 100644 index 00000000000..3159b0459bd Binary files /dev/null and b/res/drawable-xxxhdpi/data_sweep_limit_activated.9.png differ diff --git a/res/drawable-xxxhdpi/data_sweep_warning_activated.9.png b/res/drawable-xxxhdpi/data_sweep_warning_activated.9.png new file mode 100644 index 00000000000..c12f302343d Binary files /dev/null and b/res/drawable-xxxhdpi/data_sweep_warning_activated.9.png differ diff --git a/res/drawable/data_sweep_limit.xml b/res/drawable/data_sweep_limit.xml index cfdbfbbc771..eba023ffa83 100644 --- a/res/drawable/data_sweep_limit.xml +++ b/res/drawable/data_sweep_limit.xml @@ -14,10 +14,6 @@ limitations under the License. --> - - - - + + diff --git a/res/drawable/data_sweep_warning.xml b/res/drawable/data_sweep_warning.xml index 8fbe8e74ae8..5c0a1e9f9b3 100644 --- a/res/drawable/data_sweep_warning.xml +++ b/res/drawable/data_sweep_warning.xml @@ -14,10 +14,6 @@ limitations under the License. --> - - - - + + diff --git a/res/layout/app_percentage_item.xml b/res/layout/app_percentage_item.xml index 9f5ae5535a6..83d88e0a4b4 100644 --- a/res/layout/app_percentage_item.xml +++ b/res/layout/app_percentage_item.xml @@ -18,14 +18,14 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight="?android:attr/listPreferredItemHeight" - android:paddingTop="8dip" - android:paddingBottom="8dip" + android:paddingTop="14dp" + android:paddingBottom="14dp" android:columnCount="3"> + android:textAppearance="@android:style/TextAppearance.Material.Subhead" + android:textColor="?android:attr/textColorSecondary" /> diff --git a/res/layout/data_usage_app_title.xml b/res/layout/data_usage_app_title.xml index 272d8f20fff..2b5e26cb4f4 100644 --- a/res/layout/data_usage_app_title.xml +++ b/res/layout/data_usage_app_title.xml @@ -14,10 +14,24 @@ limitations under the License. --> - + android:layout_height="wrap_content"> + + + diff --git a/res/layout/data_usage_chart.xml b/res/layout/data_usage_chart.xml index 76cfc6d5261..2f9d962325b 100644 --- a/res/layout/data_usage_chart.xml +++ b/res/layout/data_usage_chart.xml @@ -14,65 +14,48 @@ limitations under the License. --> + + android:paddingLeft="?android:attr/listPreferredItemPaddingStart" + android:paddingRight="40dp" + android:paddingTop="16dp" + android:paddingBottom="24dp"> + android:paddingBottom="24dp" + android:textColor="?android:attr/textColorPrimary" + android:textAppearance="@android:style/TextAppearance.Material.Caption" + settings:borderDrawable="@drawable/data_grid_border" /> + settings:strokeColor="#00000000" + settings:fillColor="#ff009688" + settings:fillColorSecondary="#ff80cbc4" + settings:safeRegion="3dp" /> - - - - + settings:strokeColor="#00000000" + settings:fillColor="#ff009688" + settings:fillColorSecondary="#ff009688" + settings:safeRegion="3dp" /> + settings:labelColor="#ff37474f" + settings:safeRegion="4dp" /> + settings:labelColor="#fff4511e" + settings:safeRegion="4dp" /> diff --git a/res/drawable/data_sweep_right.xml b/res/layout/data_usage_cycle_item.xml similarity index 53% rename from res/drawable/data_sweep_right.xml rename to res/layout/data_usage_cycle_item.xml index cbe2a85f38f..015608d2b8e 100644 --- a/res/drawable/data_sweep_right.xml +++ b/res/layout/data_usage_cycle_item.xml @@ -1,5 +1,5 @@ - - - - - - + diff --git a/res/drawable/data_sweep_left.xml b/res/layout/data_usage_cycle_item_dropdown.xml similarity index 52% rename from res/drawable/data_sweep_left.xml rename to res/layout/data_usage_cycle_item_dropdown.xml index 3532cbc7451..a900521d806 100644 --- a/res/drawable/data_sweep_left.xml +++ b/res/layout/data_usage_cycle_item_dropdown.xml @@ -1,5 +1,5 @@ - - - - - - + diff --git a/res/layout/data_usage_cycles.xml b/res/layout/data_usage_cycles.xml index 02aa567cab2..45143ecef3c 100644 --- a/res/layout/data_usage_cycles.xml +++ b/res/layout/data_usage_cycles.xml @@ -15,22 +15,30 @@ --> - - + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeightSmall" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" + android:orientation="horizontal"> + android:layout_gravity="center_vertical" + android:paddingLeft="0dp" + android:textAppearance="@android:style/TextAppearance.Material.Subhead" + android:textColor="?android:attr/textColorPrimary" /> + + diff --git a/res/layout/data_usage_detail.xml b/res/layout/data_usage_detail.xml index 3bca030e1cb..914e8ca4cb9 100644 --- a/res/layout/data_usage_detail.xml +++ b/res/layout/data_usage_detail.xml @@ -18,6 +18,7 @@ android:id="@+id/app_detail" android:layout_width="match_parent" android:layout_height="wrap_content" + android:paddingTop="4dp" android:orientation="vertical" android:visibility="gone"> @@ -26,82 +27,107 @@ android:layout_height="wrap_content" android:layout_marginStart="?android:attr/listPreferredItemPaddingStart" android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd" + android:layout_marginBottom="16dip" android:orientation="horizontal"> + + - - - + android:layout_height="wrap_content"> + + + - - - - - + android:layout_height="wrap_content"> + + + - - -