summaryrefslogtreecommitdiff
path: root/main/src/main/res/layout/speedviewitem.xml
blob: 06a760ec64a90750e20023ee628b8bab8f1b285c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright (c) 2012-2017 Arne Schwabe
  ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
  -->

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <TextView
        android:id="@+id/ciphername"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:gravity="end"
        android:minWidth="100sp"
        android:textAlignment="textEnd"
        tools:text="aes-256-gcm" />

    <TextView
        android:id="@+id/blocksize"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/ciphername"
        android:gravity="end"
        android:minWidth="100sp"
        android:textAlignment="textEnd"
        tools:text="1024 kB" />


    <TextView
        android:id="@+id/blocksintime"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="20sp"
        android:layout_marginStart="20sp"
        android:layout_toEndOf="@id/ciphername"
        android:layout_toRightOf="@id/ciphername"
        tools:text="12345 blocks in 5s" />

    <TextView
        android:id="@+id/speed"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/blocksintime"
        android:layout_marginLeft="20dp"
        android:layout_marginStart="20dp"
        android:layout_marginTop="2sp"
        android:layout_toEndOf="@id/ciphername"
        android:layout_toRightOf="@id/ciphername"
        tools:text="772 MB/s" />


</RelativeLayout>