Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Issue1413 #1416

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@

import android.app.Activity;
import android.content.Intent;
import android.mtp.MtpConstants;
import android.os.Bundle;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.OnTouch;
import powerup.systers.com.ui.final_avatar_room.FinalAvatarActivity;
import powerup.systers.com.R;
import powerup.systers.com.data.DataSource;
Expand Down Expand Up @@ -101,6 +105,17 @@ public void eyeLeftListener(View view) {
}
presenter.calculateEyeValue(eye);
}
@OnTouch({R.id.eyes_left,R.id.eyes_right,R.id.skin_right,R.id.skin_left,R.id.clothes_right,R.id.clothes_left,R.id.hair_right,R.id.hair_left})
public boolean onArrowTouchListener(View view, MotionEvent motionEvent) {
if (motionEvent.getAction() == MotionEvent.ACTION_MOVE){
view.setAlpha(0f);
return true;
}
else {
view.setAlpha(1f);
return true;
}
}

@OnClick(R.id.eyes_right)
public void eyeRightListener(View view) {
Expand Down