BloopActivity.java 文件源码

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

项目:Bloop 作者:
/**
 * Show the fab and add the ability to place a flag.
 */
private void showPlaceFlag() {
    // if we have set the visibility to invisible (as we do in onCreate), we should put this
    // below the screen
    if (mPlaceFlagButton.getVisibility() == View.INVISIBLE) {
        mPlaceFlagButton.setTranslationY(
                mPlaceFlagButton.getHeight() + mPlaceFlagButtonMarginBottom
        );

        mPlaceFlagButton.setVisibility(View.VISIBLE);
    }

    mPlaceFlagButton
            .animate()
            .translationY(0)
            .setDuration(150)
            .setInterpolator(new LinearOutSlowInInterpolator())
            .start();

    mCannotCaptureTextView.setVisibility(View.VISIBLE);

    mFlagButtonIsShown = true;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号