package Ġcom . there al blue pand ab ear . pix ap encil . activities . canvas . ont apped Ċ Ċ import Ġandroid . view . View Ċ import Ġcom . there al blue pand ab ear . pix ap encil . activities . canvas . Canvas Activity Ċ import Ġcom . there al blue pand ab ear . pix ap encil . activities . canvas . set Pixel Color Ċ import Ġcom . there al blue pand ab ear . pix ap encil . activities . canvas . update Color Selected Indicator Ċ Ċ fun ĠCanvas Activity . extended On Color T apped ( color : ĠInt , Ġit : ĠView ) Ġ{ ĊĠĠĠ Ġset Pixel Color ( color ) ĊĊĠĠĠ Ġis Selected Ġ= Ġif Ġ(! isSelected ) Ġ{ ĊĠĠĠĠĠĠĠ Ġupdate Color Selected Indicator ( it ) ĊĠĠĠĠĠĠĠ Ġtrue ĊĠĠĠ Ġ} Ġelse Ġ{ ĊĠĠĠĠĠĠĠ Ġupdate Color Selected Indicator ( it ) ĊĠĠĠĠĠĠĠ Ġfalse ĊĠĠĠ Ġ} Ċ }