SettingsDialog.java 文件源码

java
阅读 40 收藏 0 点赞 0 评论 0

项目:AdaptiveTableLayout 作者:
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
                         @Nullable Bundle savedInstanceState) {
    //noinspection ConstantConditions
    getDialog().getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));
    View view = inflater.inflate(R.layout.dialog_settings, container, false);
    swSolidRow = (SwitchCompat) view.findViewById(R.id.swSolidRow);
    swFixedHeaders = (SwitchCompat) view.findViewById(R.id.swFixedHeaders);
    swRtlDirection = (SwitchCompat) view.findViewById(R.id.swRtlDirection);
    swDragAndDropEnabled = (SwitchCompat) view.findViewById(R.id.swDragAndDropEnabled);

    return view;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号