Преглед на файлове

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

hyodong.min преди 7 години
родител
ревизия
fcbe63fb44
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/FragmentBase.java

+ 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);
   }