신기성

arrange main recyclerview to center

...@@ -2,8 +2,11 @@ ...@@ -2,8 +2,11 @@
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto" 3 xmlns:app="http://schemas.android.com/apk/res-auto"
4 android:orientation="vertical" 4 android:orientation="vertical"
5 - android:layout_width="match_parent" 5 + android:layout_width="100dp"
6 - android:layout_height="match_parent"> 6 + android:layout_height="100dp"
7 + android:layout_gravity="center"
8 + android:layout_margin="20dp"
9 + android:gravity="center">
7 10
8 11
9 <ImageView 12 <ImageView
...@@ -13,7 +16,8 @@ ...@@ -13,7 +16,8 @@
13 app:layout_constraintLeft_toLeftOf="parent" 16 app:layout_constraintLeft_toLeftOf="parent"
14 app:layout_constraintRight_toRightOf="parent" 17 app:layout_constraintRight_toRightOf="parent"
15 app:layout_constraintTop_toTopOf="parent" 18 app:layout_constraintTop_toTopOf="parent"
16 - android:adjustViewBounds="true"/> 19 + android:adjustViewBounds="true"
20 + android:layout_gravity="center"/>
17 21
18 <TextView 22 <TextView
19 android:id="@+id/fieldIconText" 23 android:id="@+id/fieldIconText"
...@@ -22,6 +26,7 @@ ...@@ -22,6 +26,7 @@
22 android:textSize="20sp" 26 android:textSize="20sp"
23 app:layout_constraintTop_toBottomOf="@+id/fieldIcon" 27 app:layout_constraintTop_toBottomOf="@+id/fieldIcon"
24 app:layout_constraintLeft_toLeftOf="parent" 28 app:layout_constraintLeft_toLeftOf="parent"
25 - app:layout_constraintRight_toRightOf="parent"/> 29 + app:layout_constraintRight_toRightOf="parent"
30 + android:layout_gravity="center"/>
26 31
27 </LinearLayout> 32 </LinearLayout>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
7 <string name="title04">건강</string> 7 <string name="title04">건강</string>
8 <string name="title05">서민금융</string> 8 <string name="title05">서민금융</string>
9 <string name="title06">문화</string> 9 <string name="title06">문화</string>
10 - <string name="title07">Performance Analysis Using Systrace (Android Dev Summit 18)</string> 10 + <string name="title07">빈카테고리</string>
11 - <string name="title08">Preferential Practices for Preferences (Android Dev Summit 18)</string> 11 + <string name="title08">빈카테고리</string>
12 - <string name="title09">That’s a wrap on Android Dev Summit 2018!</string> 12 + <string name="title09">빈카테고리</string>
13 - <string name="title10">Vitals: Past, Present and Future (Android Dev Summit 18)</string> 13 + <string name="title10">빈카테고리</string>
14 </resources> 14 </resources>
......