1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 14:21:16 +00:00

Avoid text overlap for long repository ID or node name (fixes #113).

This commit is contained in:
Felix Ableitner 2014-09-16 12:13:24 +03:00
parent fcf3fbee55
commit 5ba2920b6a
2 changed files with 11 additions and 5 deletions

View file

@ -7,9 +7,11 @@
<TextView
android:id="@+id/name"
android:layout_width="fill_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@+id/status"
android:lines="1"
android:ellipsize="end" />
@ -19,7 +21,8 @@
android:layout_alignBottom="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:textAppearance="?android:attr/textAppearanceMedium"
android:ellipsize="end" />
<TextView
android:id="@+id/download_title"

View file

@ -7,17 +7,19 @@
<TextView
android:id="@+id/id"
android:layout_width="fill_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@+id/state"
android:lines="1"
android:ellipsize="end" />
<TextView
android:id="@+id/state"
android:textColor="#00ff00"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_alignParentRight="true"
android:layout_alignBottom="@+id/id"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@ -26,7 +28,8 @@
android:layout_below="@id/state"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:ellipsize="end" />
<TextView
android:id="@+id/items"