Skip to content

Commit d40e6b4

Browse files
committed
修改样式
1 parent 840838b commit d40e6b4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
android:layout_alignParentStart="true"
1616
android:layout_centerVertical="true"
1717
android:layout_marginLeft="15dp"
18+
android:layout_marginRight="15dp"
19+
1820
android:scaleType="fitXY"
1921
android:src="@drawable/demo1" />
2022

@@ -29,9 +31,8 @@
2931
android:layout_toEndOf="@+id/imageView"
3032
android:layout_toRightOf="@+id/imageView"
3133
android:focusable="false"
32-
android:gravity="center"
34+
android:gravity="left|center_vertical"
3335
android:text="ddd"
34-
android:textAlignment="center"
3536
android:textColor="@color/white"
3637
android:textSize="24sp" />
3738

0 commit comments

Comments
 (0)