Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private SeekBar seekBarA,seekBarR,seekBarG,seekBarB;
- private TextView tvRGB,tvHex,tvColor;
- int a=255,r=255,g=255,b=255;
- //毊ć
- initView();
- private void initView() {
- seekBarA = findViewById(R.id.seekBarA);
- seekBarR = findViewById(R.id.seekBarR);
- seekBarG = findViewById(R.id.seekBarG);
- seekBarB = findViewById(R.id.seekBarB);
- seekBarA.setOnSeekBarChangeListener(this);
- seekBarR.setOnSeekBarChangeListener(this);
- seekBarG.setOnSeekBarChangeListener(this);
- seekBarB.setOnSeekBarChangeListener(this);
- tvRGB = findViewById(R.id.tvRGB);
- tvHex = findViewById(R.id.tvHex);
- tvColor = findViewById(R.id.tvColor);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement