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
Gradient Buttons #27
Comments
Looks really nice.. I tried adding it to my project, simply by overriding AndroidBootstrap. Unfortunately it made my buttons change size, making them thin. |
@cyrixmorten I ended up not adding this feature to the main project. I created my own fork and added the gradient buttons there along with some other extra features. The fork is here https://github.com/theDazzler/Android-Bootstrap. A few of the new features are listed at the top of the readme |
@theDazzler I got the master branch of Android-Bootstrap working, then got a zip of your fork and copy-pasted the files to the imported Android-Bootstrap folder. Is there any steps for installation of your project that differ from the main branch? |
No. It uses the same steps. Let me know if you have any trouble |
@cyrixmorten It uses the same steps, but you may have forgotten to copy over the gradient buttons drawables in the res folder. If I were you, I would just use my fork instead of copying and pasting files, because my code is different. It has all the same features plus more. My buttons extend from the button class as well, whereas the buttons in this fork do not, so you may run into issues depending on your code |
@theDazzler Got it! After inspecting the AndroidBootstrapTest project from your fork I found that I had to add this to my styles.xml
You may want to point that out in your readme. Other than that, good work! A nice upgrade to the looks of my app 👍 Just noticed that I have a single small button |
@cyrixmorten Glad you got it to work. Yea it's in the wiki here https://github.com/theDazzler/Android-Bootstrap/wiki, but not the readme. I'll have to add it |
Closing ticket as we are currently not planning a change for gradient colors - if there's enough demand then we can always reconsider. |
how to make "onClic and open new activity" on https://github.com/theDazzler/Android-Bootstrap.?? |
I'm making a new issue for each feature I added to discuss it because I added too many features at once in my fork. Here are the gradient buttons I added:
To use a gradient button, you just set the attribute "gradient" to true in xml. There are gradient square buttons as well, just not pictured
The text was updated successfully, but these errors were encountered: