gui: Add option to enable unsolicited data caching
Change-Id: I53ccf0d7d63fc9212154d00298dab54188959535
diff --git a/app/src/main/res/layout/fragment_main.xml b/app/src/main/res/layout/fragment_main.xml
index 2fc1654..dfaf559 100644
--- a/app/src/main/res/layout/fragment_main.xml
+++ b/app/src/main/res/layout/fragment_main.xml
@@ -38,6 +38,14 @@
android:text="@string/connect_nearest_hub_automatically"
/>
+ <Switch
+ android:id="@+id/enable_unsolicited_caching"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:text="@string/enable_unsolicited_caching"
+ />
+
<LinearLayout android:id="@+id/status_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"