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
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/bg_item_row"
android:paddingVertical="10dp"
android:paddingHorizontal="12dp"
android:layout_marginBottom="8dp">
<!-- Rank Badge -->
<TextView
android:id="@+id/tvRank"
android:layout_width="34dp"
android:layout_height="wrap_content"
android:text="#01"
android:textColor="@color/railway_gold"
android:textSize="12sp"
android:fontFamily="monospace"
android:textStyle="bold" />
<!-- IP Address -->
<TextView
android:id="@+id/tvIp"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="69.46.46.173"
android:textColor="@color/white"
android:textSize="14sp"
android:fontFamily="monospace"
android:textStyle="bold" />
<!-- Ping Delay Chip -->
<TextView
android:id="@+id/tvDelay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="210 ms"
android:textColor="@color/success"
android:textSize="11sp"
android:fontFamily="monospace"
android:textStyle="bold"
android:background="@drawable/bg_badge_delay"
android:paddingHorizontal="10dp"
android:paddingVertical="4dp"
android:layout_marginEnd="10dp" />
<!-- Copy Button -->
<com.google.android.material.button.MaterialButton
android:id="@+id/btnCopyRow"
style="@style/Widget.Material3.Button.TonalButton"
android:layout_width="wrap_content"
android:layout_height="34dp"
android:text="Copy"
android:textSize="11sp"
android:textStyle="bold"
android:textColor="@color/accent"
app:backgroundTint="#241E38"
app:cornerRadius="8dp" />
</LinearLayout>