Skip to content

Comments

centered addCardButton to avoid it overlapping the relapse button on …#108

Open
fuzzblob wants to merge 2 commits intoseaglade:masterfrom
fuzzblob:102
Open

centered addCardButton to avoid it overlapping the relapse button on …#108
fuzzblob wants to merge 2 commits intoseaglade:masterfrom
fuzzblob:102

Conversation

@fuzzblob
Copy link

attempting to address issue #102 by centering the addCardButton in the main activity. It' looks decent in the design view on all sorts devices I don't have access to.

I wrapped the button in a RelativeLayout and set android:layout_centerHorizontal and android:layout_alignParentBottom to true.

screenshots

addCardButton-centered-emulator
addCardButton-centered

@fuzzblob
Copy link
Author

fuzzblob commented Feb 22, 2024

oops I think rebuilding the project AndoidStudio reformatted the xml somewhat. Sorry this is my first time creating a pull request or contributing directly. Please let me know if I should commit those changes as well or leave it as is.

EDIT: hmm I think that comment was made in error.

@fuzzblob
Copy link
Author

Oh the strings.xml resource refers to the location of the + button...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant