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:
Samuel Holland
2017-08-07 18:48:46 -05:00
parent 4c96e55b49
commit 2154306fcb
3 changed files with 26 additions and 0 deletions
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/placeholder_text" />
+1
View File
@@ -3,5 +3,6 @@
<string name="app_name">WireGuard</string>
<string name="connected">Connected</string>
<string name="disconnected">Disconnected</string>
<string name="placeholder_text">No profile selected.</string>
<string name="settings">Settings</string>
</resources>