Loading packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/notification_shelf_height" android:layout_below="@id/keyguard_status_area" android:paddingStart="@dimen/below_clock_padding_start_extra" android:paddingStart="@dimen/below_clock_padding_start_icons" android:visibility="invisible" /> </com.android.keyguard.KeyguardClockSwitch> packages/SystemUI/res-keyguard/values/dimens.xml +2 −1 Original line number Diff line number Diff line Loading @@ -94,5 +94,6 @@ <!-- additional offset for clock switch area items --> <dimen name="clock_padding_start">28dp</dimen> <dimen name="below_clock_padding_start">32dp</dimen> <dimen name="below_clock_padding_start_extra">36dp</dimen> <dimen name="below_clock_padding_end">16dp</dimen> <dimen name="below_clock_padding_start_icons">28dp</dimen> </resources> packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +4 −2 Original line number Diff line number Diff line Loading @@ -183,9 +183,11 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS lp.addRule(RelativeLayout.BELOW, R.id.lockscreen_clock_view); mView.addView(mSmartspaceView, ksaIndex, lp); int padding = getContext().getResources() int startPadding = getContext().getResources() .getDimensionPixelSize(R.dimen.below_clock_padding_start); mSmartspaceView.setPadding(padding, 0, padding, 0); int endPadding = getContext().getResources() .getDimensionPixelSize(R.dimen.below_clock_padding_end); mSmartspaceView.setPaddingRelative(startPadding, 0, endPadding, 0); // ... but above the large clock lp = new RelativeLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT); Loading Loading
packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/notification_shelf_height" android:layout_below="@id/keyguard_status_area" android:paddingStart="@dimen/below_clock_padding_start_extra" android:paddingStart="@dimen/below_clock_padding_start_icons" android:visibility="invisible" /> </com.android.keyguard.KeyguardClockSwitch>
packages/SystemUI/res-keyguard/values/dimens.xml +2 −1 Original line number Diff line number Diff line Loading @@ -94,5 +94,6 @@ <!-- additional offset for clock switch area items --> <dimen name="clock_padding_start">28dp</dimen> <dimen name="below_clock_padding_start">32dp</dimen> <dimen name="below_clock_padding_start_extra">36dp</dimen> <dimen name="below_clock_padding_end">16dp</dimen> <dimen name="below_clock_padding_start_icons">28dp</dimen> </resources>
packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +4 −2 Original line number Diff line number Diff line Loading @@ -183,9 +183,11 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS lp.addRule(RelativeLayout.BELOW, R.id.lockscreen_clock_view); mView.addView(mSmartspaceView, ksaIndex, lp); int padding = getContext().getResources() int startPadding = getContext().getResources() .getDimensionPixelSize(R.dimen.below_clock_padding_start); mSmartspaceView.setPadding(padding, 0, padding, 0); int endPadding = getContext().getResources() .getDimensionPixelSize(R.dimen.below_clock_padding_end); mSmartspaceView.setPaddingRelative(startPadding, 0, endPadding, 0); // ... but above the large clock lp = new RelativeLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT); Loading