1. Code (1) DocumentWebViewFragment2.java WebView webView = (WebView) rootView.findViewById(R.id.webView2); final ConstraintLayout topBar = (ConstraintLayout) rootView.findViewById(R.id.topBar); final ConstraintLayout BottomBar = (ConstraintLayout) rootView.findViewById(R.id.BottomBar); webView.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent e..
애니메이션
애니메이션 코드 1) activity.java ImageView imgRevColck; imgRevColck = (ImageView) rootView.findViewById(R.id.imgRevClock); Animation animation = AnimationUtils.loadAnimation(getActivity(),R.anim.anim_shake_clock); imgRevColck.startAnimation(animation); 2) anim_shake_clock.xml 3) cycle_4_pf.xml Reference https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=tkddlf4209&logNo=220700530627