1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package safeluck.drive.evaluation.fragment;
 
import android.os.Bundle;
 
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
 
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
 
import me.yokeyword.fragmentation.SupportFragment;
import safeluck.drive.evaluation.R;
 
/**信号评判UI 目前没有用
 * MyApplication2
 * Created by lzw on 2019/3/20. 11:22:39
 * 邮箱:632393724@qq.com
 * All Rights Saved! Chongqing AnYun Tech co. LTD
 */
public class SingleJudgeFragment extends SupportFragment {
    public static SupportFragment newInstance(){
        return new SingleJudgeFragment();
    }
 
    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//        TextView textView = new TextView(_mActivity);
//        ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
//        textView.setGravity(Gravity.CENTER);
//        textView.setLayoutParams(layoutParams);
//
//            textView.setText("信号评判");
//        return textView;
 
        View view = inflater.inflate(R.layout.layout_base_datas,container,false);
        return view;
    }
}