Loading packages/SystemUI/res/drawable/qs_customize_tile_decoration.xml +5 −2 Original line number Diff line number Diff line Loading @@ -13,5 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. --> <color xmlns:android="http://schemas.android.com/apk/res/android" android:color="?android:attr/colorBackground"/> No newline at end of file <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="?android:attr/colorBackground"/> <corners android:topLeftRadius="20dp" android:topRightRadius="20dp" /> </shape> No newline at end of file packages/SystemUI/res/layout/qs_customize_divider.xml +3 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,9 @@ android:id="@android:id/title" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:gravity="center" android:paddingTop="20dp" android:paddingBottom="13dp" android:paddingTop="24dp" android:paddingBottom="24dp" android:textAppearance="@style/TextAppearance.QSEdit.Headers" android:text="@string/drag_to_add_tiles" /> packages/SystemUI/res/layout/qs_customize_panel_content.xml +5 −2 Original line number Diff line number Diff line Loading @@ -27,9 +27,9 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:layout_marginLeft="@dimen/notification_side_paddings" android:layout_marginRight="@dimen/notification_side_paddings" android:orientation="vertical" android:paddingStart="@dimen/qs_customize_internal_side_paddings" android:paddingEnd="@dimen/qs_customize_internal_side_paddings" android:background="@drawable/qs_customizer_background"> <Toolbar android:id="@*android:id/action_bar" Loading @@ -45,7 +45,10 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:paddingStart="@dimen/qs_customize_internal_side_paddings" android:paddingEnd="@dimen/qs_customize_internal_side_paddings" android:paddingBottom="28dp" android:clipChildren="false" android:clipToPadding="false" android:scrollIndicators="top" android:scrollbars="vertical" Loading packages/SystemUI/res/values/dimens.xml +1 −0 Original line number Diff line number Diff line Loading @@ -549,6 +549,7 @@ (Toolbar_minWidth (56dp) + qs_tile_margin_top_bottom (4dp)) --> <dimen name="qs_customize_header_min_height">54dp</dimen> <dimen name="qs_customize_internal_side_paddings">8dp</dimen> <dimen name="qs_tile_margin_top">18dp</dimen> <dimen name="qs_tile_icon_background_stroke_width">-1dp</dimen> <dimen name="qs_tile_background_size">56dp</dimen> Loading packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java +1 −5 Original line number Diff line number Diff line Loading @@ -690,11 +690,7 @@ public class TileAdapter extends RecyclerView.Adapter<Holder> implements TileSta continue; } final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child .getLayoutParams(); final int top = child.getTop() + params.topMargin + Math.round(ViewCompat.getTranslationY(child)); // Draw full width, in case there aren't tiles all the way across. final int top = child.getTop() + Math.round(ViewCompat.getTranslationY(child)); mDrawable.setBounds(0, top, width, bottom); mDrawable.draw(c); break; Loading Loading
packages/SystemUI/res/drawable/qs_customize_tile_decoration.xml +5 −2 Original line number Diff line number Diff line Loading @@ -13,5 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. --> <color xmlns:android="http://schemas.android.com/apk/res/android" android:color="?android:attr/colorBackground"/> No newline at end of file <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="?android:attr/colorBackground"/> <corners android:topLeftRadius="20dp" android:topRightRadius="20dp" /> </shape> No newline at end of file
packages/SystemUI/res/layout/qs_customize_divider.xml +3 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,9 @@ android:id="@android:id/title" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:gravity="center" android:paddingTop="20dp" android:paddingBottom="13dp" android:paddingTop="24dp" android:paddingBottom="24dp" android:textAppearance="@style/TextAppearance.QSEdit.Headers" android:text="@string/drag_to_add_tiles" />
packages/SystemUI/res/layout/qs_customize_panel_content.xml +5 −2 Original line number Diff line number Diff line Loading @@ -27,9 +27,9 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:layout_marginLeft="@dimen/notification_side_paddings" android:layout_marginRight="@dimen/notification_side_paddings" android:orientation="vertical" android:paddingStart="@dimen/qs_customize_internal_side_paddings" android:paddingEnd="@dimen/qs_customize_internal_side_paddings" android:background="@drawable/qs_customizer_background"> <Toolbar android:id="@*android:id/action_bar" Loading @@ -45,7 +45,10 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:paddingStart="@dimen/qs_customize_internal_side_paddings" android:paddingEnd="@dimen/qs_customize_internal_side_paddings" android:paddingBottom="28dp" android:clipChildren="false" android:clipToPadding="false" android:scrollIndicators="top" android:scrollbars="vertical" Loading
packages/SystemUI/res/values/dimens.xml +1 −0 Original line number Diff line number Diff line Loading @@ -549,6 +549,7 @@ (Toolbar_minWidth (56dp) + qs_tile_margin_top_bottom (4dp)) --> <dimen name="qs_customize_header_min_height">54dp</dimen> <dimen name="qs_customize_internal_side_paddings">8dp</dimen> <dimen name="qs_tile_margin_top">18dp</dimen> <dimen name="qs_tile_icon_background_stroke_width">-1dp</dimen> <dimen name="qs_tile_background_size">56dp</dimen> Loading
packages/SystemUI/src/com/android/systemui/qs/customize/TileAdapter.java +1 −5 Original line number Diff line number Diff line Loading @@ -690,11 +690,7 @@ public class TileAdapter extends RecyclerView.Adapter<Holder> implements TileSta continue; } final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child .getLayoutParams(); final int top = child.getTop() + params.topMargin + Math.round(ViewCompat.getTranslationY(child)); // Draw full width, in case there aren't tiles all the way across. final int top = child.getTop() + Math.round(ViewCompat.getTranslationY(child)); mDrawable.setBounds(0, top, width, bottom); mDrawable.draw(c); break; Loading