Skip to content

Commit

Permalink
修改游戏界面item居中
Browse files Browse the repository at this point in the history
  • Loading branch information
sadaharusong committed May 5, 2018
1 parent 2853bee commit b5d13e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/res/layout/item_game.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_margin="10dp"
Expand All @@ -12,6 +12,7 @@
android:background="@drawable/selector_ring"
android:textColor="@drawable/selector_text"
android:duplicateParentState="true"
android:layout_gravity="center"
android:gravity="center" />

</LinearLayout>

0 comments on commit b5d13e6

Please sign in to comment.