Making three state custom button in android
Read Time 2 minutes Today I’ll discuss how can we make three state button like repeat song button in android music app. First of all we need to define xml custom attributes for our custom button. Our repeat button has three states: Repeat One. Repeat All. Repeat Off. So we need to define xml attributes for: src_repeat_one => Source …