Loading packages/Keyguard/res/values-my-rMM/dimens.xml 0 → 100644 +19 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2016 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License --> <resources> <dimen name="bottom_text_spacing_digital">4dp</dimen> </resources> packages/Keyguard/src/com/android/keyguard/KeyguardStatusView.java +5 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,11 @@ public class KeyguardStatusView extends GridLayout { super.onConfigurationChanged(newConfig); mClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, getResources().getDimensionPixelSize(R.dimen.widget_big_font_size)); // Some layouts like burmese have a different margin for the clock MarginLayoutParams layoutParams = (MarginLayoutParams) mClockView.getLayoutParams(); layoutParams.bottomMargin = getResources().getDimensionPixelSize( R.dimen.bottom_text_spacing_digital); mClockView.setLayoutParams(layoutParams); mDateView.setTextSize(TypedValue.COMPLEX_UNIT_PX, getResources().getDimensionPixelSize(R.dimen.widget_label_font_size)); mOwnerInfo.setTextSize(TypedValue.COMPLEX_UNIT_PX, Loading Loading
packages/Keyguard/res/values-my-rMM/dimens.xml 0 → 100644 +19 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2016 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License --> <resources> <dimen name="bottom_text_spacing_digital">4dp</dimen> </resources>
packages/Keyguard/src/com/android/keyguard/KeyguardStatusView.java +5 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,11 @@ public class KeyguardStatusView extends GridLayout { super.onConfigurationChanged(newConfig); mClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, getResources().getDimensionPixelSize(R.dimen.widget_big_font_size)); // Some layouts like burmese have a different margin for the clock MarginLayoutParams layoutParams = (MarginLayoutParams) mClockView.getLayoutParams(); layoutParams.bottomMargin = getResources().getDimensionPixelSize( R.dimen.bottom_text_spacing_digital); mClockView.setLayoutParams(layoutParams); mDateView.setTextSize(TypedValue.COMPLEX_UNIT_PX, getResources().getDimensionPixelSize(R.dimen.widget_label_font_size)); mOwnerInfo.setTextSize(TypedValue.COMPLEX_UNIT_PX, Loading