Loading res/layout-watch/settings_internal.xml +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ <TextView android:id="@+id/header" android:layout_width="match_parent" android:layout_height="@dimen/settings_header_base_height" android:layout_height="wrap_content" android:minHeight="@dimen/settings_header_base_height" android:layout_marginLeft="16dp" android:layout_marginTop="@dimen/settings_header_top_margin" android:textSize="@dimen/setting_short_header_text_size" Loading src/com/android/packageinstaller/permission/ui/wear/TitledSettingsFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -207,9 +207,9 @@ public abstract class TitledSettingsFragment extends Fragment implements if (!singleLine) { height += getResources().getDimension(R.dimen.setting_header_extra_line_height); } mHeader.setMinHeight((int) height); FrameLayout.LayoutParams params = (FrameLayout.LayoutParams) mHeader.getLayoutParams(); params.height = (int) height; final Context context = getContext(); if (!singleLine) { // Make the top margin a little bit smaller so there is more space for the title. Loading Loading
res/layout-watch/settings_internal.xml +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ <TextView android:id="@+id/header" android:layout_width="match_parent" android:layout_height="@dimen/settings_header_base_height" android:layout_height="wrap_content" android:minHeight="@dimen/settings_header_base_height" android:layout_marginLeft="16dp" android:layout_marginTop="@dimen/settings_header_top_margin" android:textSize="@dimen/setting_short_header_text_size" Loading
src/com/android/packageinstaller/permission/ui/wear/TitledSettingsFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -207,9 +207,9 @@ public abstract class TitledSettingsFragment extends Fragment implements if (!singleLine) { height += getResources().getDimension(R.dimen.setting_header_extra_line_height); } mHeader.setMinHeight((int) height); FrameLayout.LayoutParams params = (FrameLayout.LayoutParams) mHeader.getLayoutParams(); params.height = (int) height; final Context context = getContext(); if (!singleLine) { // Make the top margin a little bit smaller so there is more space for the title. Loading