4 changed files with 71 additions and 2 deletions
@ -0,0 +1,46 @@ |
|||||||
|
package cc.niushuai.dididone.ui.setting.project; |
||||||
|
|
||||||
|
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 androidx.fragment.app.Fragment; |
||||||
|
|
||||||
|
import cc.niushuai.dididone.databinding.FragmentProjectBinding; |
||||||
|
import cc.niushuai.dididone.ui.base.InitAndSetListener; |
||||||
|
|
||||||
|
public class ProjectFragment extends Fragment implements InitAndSetListener { |
||||||
|
|
||||||
|
private FragmentProjectBinding binding; |
||||||
|
|
||||||
|
@Override |
||||||
|
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { |
||||||
|
|
||||||
|
binding = FragmentProjectBinding.inflate(inflater, container, false); |
||||||
|
View root = binding.getRoot(); |
||||||
|
|
||||||
|
init(); |
||||||
|
setListeners(); |
||||||
|
|
||||||
|
return root; |
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* |
||||||
|
*/ |
||||||
|
@Override |
||||||
|
public void init() { |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* |
||||||
|
*/ |
||||||
|
@Override |
||||||
|
public void setListeners() { |
||||||
|
|
||||||
|
} |
||||||
|
} |
@ -0,0 +1,20 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
xmlns:tools="http://schemas.android.com/tools" |
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent" |
||||||
|
android:background="#4DD5D1D1" |
||||||
|
android:orientation="vertical" |
||||||
|
android:padding="10dp" |
||||||
|
tools:context=".ui.setting.project.ProjectFragment"> |
||||||
|
|
||||||
|
<TextView |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent" |
||||||
|
app:layout_constraintStart_toStartOf="parent" |
||||||
|
app:layout_constraintTop_toTopOf="parent" |
||||||
|
android:text="hello project" |
||||||
|
/> |
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
Loading…
Reference in new issue