app/src/main/java/com/etiennelawlor/tinderstack/ui/TinderCardView.java
// set alpha of like and nope badges
set alpha of like and nope badges
set alpha of like and nope badges
private void updateAlphaOfBadges(float posX){
        float alpha = (posX - padding) / (screenWidth * 0.50f);
        likeTextView.setAlpha(alpha);
        nopeTextView.setAlpha(-alpha);
    }
private void updateAlphaOfBadges ( float posX ) { float alpha = ( posX - padding ) / ( screenWidth * 0.50f ) ; likeTextView . setAlpha ( alpha ) ; nopeTextView . setAlpha ( - alpha ) ; }
set alpha of like and nope badges
set alpha of like and nope badges