PlaceholderFragment: Simple fragment that shows a message
This is used for the detail pane when no profile is selected. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.wireguard.android;
|
||||
|
||||
import android.app.Fragment;
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
/**
|
||||
* Fragment containing a simple placeholder message.
|
||||
*/
|
||||
|
||||
public class PlaceholderFragment extends Fragment {
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {
|
||||
return inflater.inflate(R.layout.placeholder_fragment, parent, false);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user