Skip to content

Commit

Permalink
Make text in torrent overview tab selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartuzen committed Feb 3, 2025
1 parent 3de2450 commit d3823ec
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions app/src/main/res/layout/fragment_torrent_overview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
android:textSize="18sp"
tools:text="Torrent Name" />

Expand Down Expand Up @@ -68,6 +69,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:textIsSelectable="true"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/chip_group_category_and_tag"
tools:text="Progress Text" />
Expand All @@ -76,6 +78,7 @@
android:id="@+id/text_eta"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textIsSelectable="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/chip_group_category_and_tag"
tools:text="ETA" />
Expand All @@ -94,6 +97,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:textIsSelectable="true"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/progress_torrent"
tools:text="Torrent State" />
Expand All @@ -103,6 +107,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:textIsSelectable="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/progress_torrent"
tools:text="Speed" />
Expand Down Expand Up @@ -141,6 +146,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Total Size Text" />

<TextView
Expand All @@ -154,6 +160,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Added On Text" />

<TextView
Expand All @@ -168,6 +175,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Private Text" />

<TextView
Expand All @@ -181,6 +189,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="V1 Hash Text" />

<TextView
Expand All @@ -194,6 +203,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="V2 Hash Text" />

<TextView
Expand All @@ -207,6 +217,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Save Path Text" />

<TextView
Expand All @@ -221,6 +232,7 @@
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:autoLink="all"
android:textIsSelectable="true"
tools:text="Comment Text" />

<TextView
Expand All @@ -234,6 +246,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Pieces Text" />

<TextView
Expand All @@ -247,6 +260,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Completed On Text" />

<TextView
Expand All @@ -260,6 +274,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Created By Text" />

<TextView
Expand All @@ -273,6 +288,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Created On Text" />

</GridLayout>
Expand Down Expand Up @@ -308,6 +324,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Time Active Text" />

<TextView
Expand All @@ -321,6 +338,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Downloaded Text" />

<TextView
Expand All @@ -334,6 +352,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Uploaded Text" />

<TextView
Expand All @@ -347,6 +366,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Reannounce In Text" />

<TextView
Expand All @@ -360,6 +380,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Last Activity Text" />

<TextView
Expand All @@ -373,6 +394,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Last Seen Complete Text" />

<TextView
Expand All @@ -386,6 +408,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Connections Text" />

<TextView
Expand All @@ -399,6 +422,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Seeds Text" />

<TextView
Expand All @@ -412,6 +436,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Peers Text" />

<TextView
Expand All @@ -425,6 +450,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Wasted Text" />

<TextView
Expand All @@ -438,6 +464,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Availability Text" />

<TextView
Expand All @@ -452,6 +479,7 @@
android:layout_gravity="fill_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:textIsSelectable="true"
tools:text="Popularity Text" />

</GridLayout>
Expand Down

0 comments on commit d3823ec

Please sign in to comment.