Browse Source

[소개][New] 가이드 페이지 앱바 스크롤 방식 변경

hyodong.min 7 years ago
parent
commit
a5473b6a9f

+ 2 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/guide/GuideFragment.java

@@ -29,7 +29,7 @@ public class GuideFragment extends Fragment {
   private RecyclerView recyclerViewAppGuide;
   private IEventListener listener;
 
-  public void setListener(IEventListener listener){
+  public void setListener(IEventListener listener) {
     this.listener = listener;
   }
 
@@ -52,6 +52,7 @@ public class GuideFragment extends Fragment {
 
     recyclerViewAppGuide.setLayoutManager(new LinearLayoutManager(getActivity(), LinearLayoutManager.VERTICAL, false));
     recyclerViewAppGuide.setAdapter(guideAdapter);
+
     Snapper snapper = new Snapper(recyclerViewAppGuide, 800);
     snapper.attachToRecyclerView(recyclerViewAppGuide);
   }

+ 4 - 4
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/guide/LifeplusIntroductionFragment.java

@@ -86,10 +86,10 @@ public class LifeplusIntroductionFragment extends FragmentBase<LifeplusIntroduct
   @Override
   protected void defineActionBar(ActionBarHelper actionBarHelper) {
     actionBarHelper.begin().title(R.string.life_plus_guide)
-      .menu(actionBar -> presenter.onNavigationClickMenu(actionBar))
-      .search(actionBar -> presenter.onNavigationClickSearch(actionBar))
-      .back(actionBar -> presenter.onNavigationClickBack(actionBar))
-      .scroll()
+//      .menu(actionBar -> presenter.onNavigationClickMenu(actionBar))
+//      .search(actionBar -> presenter.onNavigationClickSearch(actionBar))
+//      .back(actionBar -> presenter.onNavigationClickBack(actionBar))
+//      .scroll()
       .hide();
   }
 

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

@@ -19,7 +19,7 @@
       android:id="@+id/collapsing_tool_bar"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
-      app:layout_scrollFlags="scroll|enterAlways">
+      app:layout_scrollFlags="scroll">
 
       <LinearLayout
         android:id="@+id/layout_navigation_bar"