AdrielStammler / CPR-Scouting-App

Scouting app for CPR3663
4 stars 0 forks source link

TASK: Make buttons look like they are clicked #71

Open Jeff-Stammler opened 2 weeks ago

Jeff-Stammler commented 2 weeks ago

The buttons are very flat right now. If you click/touch a button, it does it's thing, but it doesn't LOOK like you clicked it. Some buttons take a second to show anything. A Scouter won't know if they clicked anything since there's no appearance change.

This "fit and finish" but it'd be super nice/helpful to figure out how to make a button look pressed down.

EllaNorby commented 1 week ago

Do we want to tint/change the background color of a button after it's been clicked or were you thinking of something else?

Gmag1977 commented 1 week ago

My first plan was to make the button smaller and make the shadow effect the size of the original button but if that doesn’t work then yes that was my next plan -Grayson Sent from my iPhone

On Sep 4, 2024, at 8:12 PM, EllaNorby @.***> wrote:



Do we want to tint/change the background color of a button after it's been clicked or were you thinking of something else?

— Reply to this email directly, view it on GitHubhttps://github.com/AdrielStammler/CPR-Scouting-App/issues/71#issuecomment-2330511666, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFJ4T5C5HULMTQRGARBSZ7LZU7DYTAVCNFSM6AAAAABNTD5NNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZQGUYTCNRWGY. You are receiving this because you were assigned.Message ID: @.***>

Jeff-Stammler commented 1 week ago

Changing the tint can work in a pinch. I "think" (from what i saw online) is that apps have an "image" for the button, and they craft another "image" for when it's pressed, and then link that up in a theme, or the xml, or ... I'm really not sure. That might be too much work (for now?) and something to improve upon in our next revision! :)

If we do the tint, we should capture both the press, and release, so we can put the tint back to normal. (shouldn't leave it "tinted" forever...)

EllaNorby commented 1 week ago

The app actually makes noise when buttons are pressed, which is interesting