@Override
public void onAttachedToWindow() {
super.onAttachedToWindow();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
Fragment fragment = getFragmentManager().findFragmentById(android.R.id.content);
if (fragment instanceof PreferenceFragment && fragment.getView() != null) {
// Set list view padding to 0 so dividers are the full width of the screen.
fragment.getView().findViewById(android.R.id.list).setPadding(0, 0, 0, 0);
}
}
}
Preferences.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:chromium-for-android-56-debug-video
作者:
评论列表
文章目录