From 2154306fcbbc9e52ff1a2cba88f909df2e2ba13e Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Mon, 7 Aug 2017 18:48:46 -0500 Subject: 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 --- .../com/wireguard/android/PlaceholderFragment.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/src/main/java/com/wireguard/android/PlaceholderFragment.java (limited to 'app/src/main/java/com/wireguard') diff --git a/app/src/main/java/com/wireguard/android/PlaceholderFragment.java b/app/src/main/java/com/wireguard/android/PlaceholderFragment.java new file mode 100644 index 00000000..8c15e757 --- /dev/null +++ b/app/src/main/java/com/wireguard/android/PlaceholderFragment.java @@ -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); + } +} -- cgit v1.2.3