Skip to content

Commit dc10365

Browse files
committed
任务姓名太长换行的问题
1 parent cac961e commit dc10365

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/src/main/res/layout/task_attr_item.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
android:id="@+id/linearlayout0"
44
android:layout_width="match_parent"
55
android:layout_height="50dp"
6+
xmlns:tools="http://schemas.android.com/tools"
67
android:background="@drawable/list_item_selector">
78

89
<ImageView
@@ -39,8 +40,11 @@
3940
android:layout_height="wrap_content"
4041
android:layout_alignParentRight="true"
4142
android:layout_centerVertical="true"
43+
android:layout_marginLeft="150dp"
4244
android:layout_marginRight="15dp"
4345
android:text="@string/no_pick"
46+
android:singleLine="true"
47+
tools:text="cc"
4448
android:textColor="@color/font_3"
4549
android:textSize="16sp" />
4650

0 commit comments

Comments
 (0)