Browse Source

[공통][New] 스크롤이 아닌 뷰에게는 액션바 만큼의 탑 마진을 설정해 준다.2

hyodong.min 7 years ago
parent
commit
fcbe63fb44

+ 4 - 3
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/FragmentBase.java

@@ -65,15 +65,16 @@ public abstract class FragmentBase<P extends Presenter> extends Fragment impleme
   public final View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
     Log.e("APP# FragmentBase | onCreateView", "| >>>>>>>>>>>> " + this.getClass().getSimpleName());
 
-    defineActionBar();
-    defineActionButton();
-
     return onAfterCreateView(inflater, container, savedInstanceState);
   }
 
   @Override
   public final void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
 //    Log.e("APP# FragmentBase | onViewCreated", "| >>>>>>>>>>>> " + this.getClass().getSimpleName());
+
+    defineActionBar();
+    defineActionButton();
+
     super.onViewCreated(view, savedInstanceState);
   }