Loading packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/IllustrationPreference.java +6 −2 Original line number Diff line number Diff line Loading @@ -138,8 +138,12 @@ public class IllustrationPreference extends Preference implements GroupSectionDi ImageView backgroundViewTablet = (ImageView) holder.findViewById(R.id.background_view_tablet); if (backgroundView != null) { backgroundView.setVisibility(mIsTablet ? View.GONE : View.VISIBLE); } if (backgroundViewTablet != null) { backgroundViewTablet.setVisibility(mIsTablet ? View.VISIBLE : View.GONE); } if (mIsTablet) { backgroundView = backgroundViewTablet; } Loading Loading
packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/IllustrationPreference.java +6 −2 Original line number Diff line number Diff line Loading @@ -138,8 +138,12 @@ public class IllustrationPreference extends Preference implements GroupSectionDi ImageView backgroundViewTablet = (ImageView) holder.findViewById(R.id.background_view_tablet); if (backgroundView != null) { backgroundView.setVisibility(mIsTablet ? View.GONE : View.VISIBLE); } if (backgroundViewTablet != null) { backgroundViewTablet.setVisibility(mIsTablet ? View.VISIBLE : View.GONE); } if (mIsTablet) { backgroundView = backgroundViewTablet; } Loading