diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-07 18:48:46 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-07 18:48:46 -0500 |
commit | 0d6a88874a2984843d05d76364e9bcc73b28e24c (patch) | |
tree | 28e7a70bea2dfcaeefa55b4ff197f75e75b0d06d /app/src/main/java/com/wireguard | |
parent | 141e1f431e435fe84dde561114978e4cfe3b1448 (diff) |
PlaceholderFragment: Simple fragment that shows a message
This is used for the detail pane when no profile is selected.
Diffstat (limited to 'app/src/main/java/com/wireguard')
-rw-r--r-- | app/src/main/java/com/wireguard/android/PlaceholderFragment.java | 18 |
1 files changed, 18 insertions, 0 deletions
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); + } +} |