Simple network info page
This commit is contained in:
51
res/layout/fragment_network_info.xml
Normal file
51
res/layout/fragment_network_info.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/local_destination" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/local_destination"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/not_set" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/kademlia_peers" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/kademlia_peers"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/relay_peers" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/relay_peers"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/banned_peers" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/banned_peers"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -58,6 +58,12 @@
|
||||
<string name="label_browse">Browse</string>
|
||||
<string name="save_contact">Save contact</string>
|
||||
|
||||
<string name="local_destination">Local Destination:</string>
|
||||
<string name="not_set">Not set</string>
|
||||
<string name="kademlia_peers">Kademlia Peers:</string>
|
||||
<string name="relay_peers">Relay Peers:</string>
|
||||
<string name="banned_peers">Banned Peers:</string>
|
||||
|
||||
<string name="pref_title_general">General</string>
|
||||
<string name="pref_summ_general">General settings and default identity settings</string>
|
||||
<string name="pref_title_autoMail">Auto-check mail</string>
|
||||
|
||||
Reference in New Issue
Block a user