|
|
@@ -18,6 +18,7 @@ import android.widget.TextView;
|
|
|
import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.helper.ActionBarHelper;
|
|
|
import kr.co.zumo.app.lifeplus.model.BlankModel;
|
|
|
+import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.FragmentBase;
|
|
|
|
|
|
@@ -56,11 +57,12 @@ public class OnBoardingFragment extends FragmentBase<OnBoardingPresenter> implem
|
|
|
buttonTutorial1 = (TextView) bottomBar.findViewById(R.id.button1_tutorial);
|
|
|
buttonTutorial2 = (TextView) bottomBar.findViewById(R.id.button2_tutorial);
|
|
|
|
|
|
+ findViewById(R.id.main_content).setPadding(0, ResourceUtil.getStatusBarHeight(), 0, 0);
|
|
|
+
|
|
|
OnBoardingPagerAdapter onBoardingPagerAdapter = presenter.getPagerAdapter(getActivity());
|
|
|
onBoardingPagerAdapter.setPresenter(presenter);
|
|
|
onBoardingPagerAdapter.setBottomBar(bottomBar);
|
|
|
onBoardingPagerAdapter.setTabLayout(tabLayout);
|
|
|
-
|
|
|
pagerAdapter = onBoardingPagerAdapter;
|
|
|
|
|
|
// 1개 일 때 인디케이터 표시하지 않기
|
|
|
@@ -74,6 +76,7 @@ public class OnBoardingFragment extends FragmentBase<OnBoardingPresenter> implem
|
|
|
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
|
|
|
|
|
|
}
|
|
|
+
|
|
|
// TODO: 2차 오픈: 준비중, 얼랏 처리
|
|
|
public void onPageSelected(int position) {
|
|
|
bottomBar.setVisibility(position != 3 ? View.VISIBLE : View.INVISIBLE);
|