How to make animation like youtube new? This is the demo application for you to answer the above question
This application is built based on my understanding of android, so it may not be really good, I look forward to your contributions and help to make the application more complete and optimal. Thank you!!!
<com.hoanganhtuan95ptit.drag.view.DragFrame
android:id="@+id/drag_frame"
android:layout_width="match_parent"
android:layout_height="match_parent" />
dragFrame.setTopFragment(getSupportFragmentManager(), PlayFragment.newInstance());
dragFrame.setBottomFragment(getSupportFragmentManager(), DetailFragment.newInstance());
dragFrame.setOnDragListener(this);
dragFrame.maximize();
dragFrame.minimize();
dragFrame.close();
dragFrame.setHeightWaiting(int heightWaiting);
dragFrame.setHeight(int height);
dragFrame.isMaximized();
dragFrame.isMinimized();
dragFrame.isClosed();