Added popup functionality
This commit is contained in:
@@ -1,4 +1,20 @@
|
||||
package com.a1.nextlocation.fragments;
|
||||
|
||||
public class HelpPopup {
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import androidx.fragment.app.DialogFragment;
|
||||
|
||||
import com.a1.nextlocation.R;
|
||||
|
||||
public class HelpPopup extends DialogFragment {
|
||||
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
View rootView = inflater.inflate(R.layout.help_popup, container, false);
|
||||
getDialog().setTitle("Simple Dialog");
|
||||
return rootView;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user