gui: Add display of forwarder status
Change-Id: I6748bea615ea2f56d9b222ce34e12e449cec7f9d
diff --git a/app/src/main/res/values/strings_main_activity.xml b/app/src/main/res/values/strings_main_activity.xml
index 9a41a2f..8b67095 100644
--- a/app/src/main/res/values/strings_main_activity.xml
+++ b/app/src/main/res/values/strings_main_activity.xml
@@ -1,7 +1,19 @@
<resources>
<!-- General -->
<string name="pref_category_title_general">General</string>
- <string name="pref_category_title_general_key">General_Key</string>
+ <string name="pref_category_title_status">NFD Status</string>
+
+ <string name="version">Version</string>
+ <string name="uptime">Uptime</string>
+ <string name="name_tree_entries">NameTree entries</string>
+ <string name="fib_entries">FIB entries</string>
+ <string name="pit_entries">PIT Entries</string>
+ <string name="measurement_entries">Measurement entries</string>
+ <string name="cs_entries">CS entries</string>
+ <string name="in_interests">In interests</string>
+ <string name="out_interests">Out interests</string>
+ <string name="in_data">In data</string>
+ <string name="out_data">Out data</string>
<string-array name="pref_sync_face_titles">
<item>localhost</item>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 08a8a5c..f851cec 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -58,4 +58,25 @@
<item name="android:layout_gravity">right</item>
</style>
+ <style name="main_fragment_linear_layout">
+ <item name="android:orientation">horizontal</item>
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ </style>
+
+ <style name="main_fragment_list_title">
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
+ <item name="android:textColor">@android:color/primary_text_light</item>
+ </style>
+
+ <style name="main_fragment_list_value">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
+ <item name="android:gravity">right</item>
+ <item name="android:textColor">@android:color/secondary_text_dark</item>
+ <item name="android:layout_gravity">right</item>
+ </style>
</resources>