MapActivity.java 文件源码

java
阅读 29 收藏 0 点赞 0 评论 0

项目:mvhs-app 作者:
private void hideList() {
    final FrameLayout layout = (FrameLayout) findViewById(R.id.activity_map_list_fragment_container);
    ObjectAnimator animator = new ObjectAnimator();
    animator.setProperty(View.Y);
    animator.setTarget(layout);
    animator.setFloatValues(layout.getMeasuredHeight());
    animator.setDuration(250);
    animator.setInterpolator(new FastOutLinearInInterpolator());
    animator.start();

    ObjectAnimator animator2 = new ObjectAnimator();
    animator2.setProperty(View.ALPHA);
    animator2.setFloatValues(0f);
    animator2.setTarget(findViewById(R.id.activity_map_searchbox_background));
    animator2.setDuration(250);
    animator2.setInterpolator(new LinearOutSlowInInterpolator());
    animator2.start();

    mListShowing = false;
    mSearchView.setDrawerIconState(true, true);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号