Skip to content

Commit 9a62644

Browse files
committed
💄 Margin, multiline etc
1 parent 01fc4a8 commit 9a62644

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
app:layout_constraintStart_toStartOf="parent"
88
app:layout_constraintTop_toTopOf="parent"
99
app:layout_constraintBottom_toBottomOf="parent"
10-
android:layout_width="20dp"
10+
android:layout_marginStart="2dp"
11+
android:layout_marginEnd="2dp"
12+
android:layout_width="16dp"
1113
android:layout_height="20dp"
1214
android:src="@android:drawable/arrow_down_float"
1315
android:id="@+id/iv_fdi_expand"/>
@@ -27,7 +29,6 @@
2729
android:id="@+id/fileDrawerTextView"
2830
android:layout_width="0dp"
2931
android:layout_height="wrap_content"
30-
android:singleLine="true"
31-
android:ellipsize="marquee"
32+
android:layout_marginStart="5dp"
3233
android:text="TextView" />
3334
</androidx.constraintlayout.widget.ConstraintLayout>

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,14 @@
3333

3434
<com.kyhsgeekcode.multilevellistview.MultiLevelListView
3535
android:id="@+id/left_drawer"
36-
android:layout_width="300dp"
36+
android:layout_width="310dp"
3737
android:layout_height="match_parent"
3838
android:layout_gravity="start"
3939
android:background="#FFFFFF"
4040
android:choiceMode="singleChoice"
4141
android:divider="@android:color/transparent"
42-
android:dividerHeight="0dp" />
42+
android:dividerHeight="0dp"
43+
android:paddingEnd="10dp"/>
4344

4445
</androidx.drawerlayout.widget.DrawerLayout>
4546

0 commit comments

Comments
 (0)