Pārlūkot izejas kodu

[설정][New] 설정화면 추가 수정

Hasemi 7 gadi atpakaļ
vecāks
revīzija
f0c51f35f2

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/activity/SettingActivity.java

@@ -35,7 +35,7 @@ public class SettingActivity extends AppCompatActivity {
     //doSettingData();
     //SettingExpandableListViewAdapter adapter = new SettingExpandableListViewAdapter(settingMenuList);
     SettingExpandableListViewAdapter adapter = new SettingExpandableListViewAdapter(this);
-    settingRecyclerView.setLayoutManager(new LinearLayoutManager(this));
+    settingRecyclerView.setLayoutManager(new LinearLayoutManager(getApplicationContext(), LinearLayoutManager.VERTICAL, false));
     settingRecyclerView.setAdapter(adapter);
   }
 

+ 1 - 1
app/src/main/res/layout/setting_custom_menu1.xml

@@ -4,7 +4,7 @@
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
-  android:layout_height="match_parent"
+  android:layout_height="wrap_content"
   android:orientation="vertical">
 
   <android.support.constraint.ConstraintLayout

+ 1 - 1
app/src/main/res/layout/setting_custom_menu2.xml

@@ -4,7 +4,7 @@
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
-  android:layout_height="match_parent"
+  android:layout_height="wrap_content"
   android:orientation="vertical">
 
   <android.support.constraint.ConstraintLayout

+ 1 - 1
app/src/main/res/layout/setting_custom_menu3.xml

@@ -4,7 +4,7 @@
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
-  android:layout_height="match_parent"
+  android:layout_height="wrap_content"
   android:orientation="vertical">
 
   <android.support.constraint.ConstraintLayout

+ 2 - 2
app/src/main/res/layout/setting_custom_menu4.xml

@@ -4,7 +4,7 @@
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
-  android:layout_height="match_parent"
+  android:layout_height="wrap_content"
   android:orientation="vertical">
 
   <android.support.constraint.ConstraintLayout
@@ -33,7 +33,7 @@
       app:layout_constraintBottom_toBottomOf="parent"
       app:layout_constraintStart_toEndOf="@+id/image_view_setting_menu_icon"
       app:layout_constraintTop_toTopOf="parent"
-      tools:text="@string/setting_menu4"/>
+      android:text="@string/setting_menu4"/>
 
     <ImageView
       android:id="@+id/image_view_setting_menu_accordion"