Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant