diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-11-20 11:44:34 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-11-20 12:44:54 +0100 |
commit | 8b0123042f54d843301fbef458b249fcf12466d2 (patch) | |
tree | b3e7bd9f143568666d21014eafe544affb0a89b7 /app/src/main/res/layout | |
parent | 16890a659e6d7877b86e870fe4f0ef9cc19aee5b (diff) |
Implement statistics
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/tunnel_detail_fragment.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/tunnel_detail_peer.xml | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/layout/tunnel_detail_fragment.xml b/app/src/main/res/layout/tunnel_detail_fragment.xml index 34332c2f..23056ecf 100644 --- a/app/src/main/res/layout/tunnel_detail_fragment.xml +++ b/app/src/main/res/layout/tunnel_detail_fragment.xml @@ -125,6 +125,7 @@ </androidx.cardview.widget.CardView> <LinearLayout + android:id="@+id/peers_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="4dp" diff --git a/app/src/main/res/layout/tunnel_detail_peer.xml b/app/src/main/res/layout/tunnel_detail_peer.xml index f528a8df..0f7ae336 100644 --- a/app/src/main/res/layout/tunnel_detail_peer.xml +++ b/app/src/main/res/layout/tunnel_detail_peer.xml @@ -89,6 +89,24 @@ android:layout_height="wrap_content" android:layout_below="@+id/endpoint_label" android:text="@{item.endpoint}" /> + + <TextView + android:id="@+id/transfer_label" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@+id/endpoint_text" + android:layout_marginTop="8dp" + android:labelFor="@+id/transfer_text" + android:text="@string/transfer" + android:visibility="gone" /> + + <TextView + android:id="@+id/transfer_text" + style="?android:attr/textAppearanceMedium" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@+id/transfer_label" + android:visibility="gone" /> </RelativeLayout> </androidx.cardview.widget.CardView> </layout> |