diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 186ddf7874c..3281adedf3f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2226,7 +2226,7 @@ + android:value="com.android.settings.datausage.DataUsageSummary" /> - - - + + + diff --git a/res/drawable/data_sweep_warning.xml b/res/drawable/data_sweep_warning.xml index 5c0a1e9f9b3..b0f5fda569f 100644 --- a/res/drawable/data_sweep_warning.xml +++ b/res/drawable/data_sweep_warning.xml @@ -14,6 +14,12 @@ limitations under the License. --> - - - + + + diff --git a/res/layout/app_header.xml b/res/layout/app_header.xml index ffc68296309..6c13ae886ea 100644 --- a/res/layout/app_header.xml +++ b/res/layout/app_header.xml @@ -53,11 +53,5 @@ android:src="@drawable/ic_info" style="?android:attr/borderlessButtonStyle" /> - - diff --git a/res/layout/apps_filter_spinner.xml b/res/layout/apps_filter_spinner.xml index 45e64c4e123..b8b5c908c25 100644 --- a/res/layout/apps_filter_spinner.xml +++ b/res/layout/apps_filter_spinner.xml @@ -20,22 +20,34 @@ android:layout_height="?android:attr/actionBarSize" android:background="@drawable/switchbar_background" android:gravity="center_vertical" + android:paddingEnd="@dimen/switchbar_subsettings_margin_end" android:theme="?attr/switchBarTheme" > - + + diff --git a/res/layout/data_usage_app_header.xml b/res/layout/data_usage_app_header.xml new file mode 100644 index 00000000000..8ca391a051c --- /dev/null +++ b/res/layout/data_usage_app_header.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + diff --git a/res/layout/data_usage_chart.xml b/res/layout/data_usage_chart.xml index 648c7f8d7e4..3a2ee098631 100644 --- a/res/layout/data_usage_chart.xml +++ b/res/layout/data_usage_chart.xml @@ -22,8 +22,8 @@ android:id="@+id/chart" android:layout_width="match_parent" android:layout_height="@dimen/data_usage_chart_height" - android:paddingLeft="?android:attr/listPreferredItemPaddingStart" - android:paddingRight="40dp" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:paddingTop="16dp" android:paddingBottom="24dp"> diff --git a/res/layout/data_usage_cycles.xml b/res/layout/data_usage_cycles.xml index 45143ecef3c..5267e26a602 100644 --- a/res/layout/data_usage_cycles.xml +++ b/res/layout/data_usage_cycles.xml @@ -31,14 +31,4 @@ android:textAppearance="@android:style/TextAppearance.Material.Subhead" android:textColor="?android:attr/textColorPrimary" /> - - diff --git a/res/layout/memory_key.xml b/res/layout/memory_key.xml deleted file mode 100644 index 62db2fc5123..00000000000 --- a/res/layout/memory_key.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - diff --git a/res/layout/preference_category_no_label.xml b/res/layout/preference_category_no_label.xml new file mode 100644 index 00000000000..dafabb23124 --- /dev/null +++ b/res/layout/preference_category_no_label.xml @@ -0,0 +1,20 @@ + + + + diff --git a/res/layout/preference_category_short.xml b/res/layout/preference_category_short.xml new file mode 100644 index 00000000000..452d0bc80b4 --- /dev/null +++ b/res/layout/preference_category_short.xml @@ -0,0 +1,27 @@ + + + + + diff --git a/res/layout/preference_list_fragment.xml b/res/layout/preference_list_fragment.xml index 99e764fd56d..f8badcf5d33 100644 --- a/res/layout/preference_list_fragment.xml +++ b/res/layout/preference_list_fragment.xml @@ -18,95 +18,95 @@ --> + android:id="@+id/container_material" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@android:color/transparent"> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="gone" /> - + + style="@style/PreferenceFragmentListSinglePane" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingStart="@dimen/settings_side_margin" + android:paddingEnd="@dimen/settings_side_margin" + android:paddingTop="@dimen/dashboard_padding_top" + android:paddingBottom="@dimen/dashboard_padding_bottom" + android:scrollbarStyle="@*android:integer/preference_fragment_scrollbarStyle" + android:clipToPadding="false" + android:drawSelectorOnTop="false" + android:elevation="@dimen/dashboard_category_elevation" + android:visibility="gone" + android:scrollbarAlwaysDrawVerticalTrack="true" /> + android:id="@+id/fab" + android:visibility="gone" + android:clickable="true" + android:layout_width="@dimen/fab_size" + android:layout_height="@dimen/fab_size" + android:layout_gravity="bottom|end" + android:layout_marginEnd="@dimen/fab_margin" + android:layout_marginBottom="@dimen/fab_margin" + android:elevation="@dimen/fab_elevation" + android:background="@drawable/fab_background" /> + android:layout_width="match_parent" + android:layout_height="match_parent" + android:padding="@*android:dimen/preference_fragment_padding_side" + android:gravity="center" + android:visibility="gone" /> + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_weight="0" + android:visibility="gone">