Git Product home page Git Product logo

elegantnumberbutton's People

Contributors

abdallahabdelfattah13 avatar alejandrocq avatar ashik94vc avatar krakowski avatar siriscac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

elegantnumberbutton's Issues

Complile time exception

Please, remove android:icon="@mipmap/ic_launcher" from your library! I have a compile time exception

Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute application@icon value=(@mipmap/cashbox) from AndroidManifest.xml:30:9-39
is also present at [com.cepheuen.elegant-number-button:lib:1.0.2] AndroidManifest.xml:13:9-43 value=(@mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:27:5-56:19 to override.

Question

I'm sorry to bother, I'm new to android development and I found the elegant number button very useful, I'd like to know how I can change the numbers instead of 1 increments of 100 in 100, example 100 200 300 400 and so on .. .

Sorry for english

Thanks

Change Font

how can i change Font or set Typeface ?
I'm setting Typeface in java but can't resolve this method

 Typeface face = Typeface.createFromAsset(getContext().getAssets(),getContext().getString(R.string.font));
        setTypeface(face);

NullPointerException

in RVAdapter,

public static ElegantNumberButton button;

in MainActivity,

SubMenuRVAdapter.button.setNumber("0");

When I click Send button, I want to set ElegantNumberButton number "0" as a default. This ElegantNumberButton, findViewById come from RVAdapter.

RecyclerView

Please I need the button inside the recyclerView and its too much big to see the + - make it smaller so it can fill inside each cardView in a recycler view
thanks

EditableNumberButton

Is it possible to make the number button Editable so that you can type inside the number for example when you want to input 100 you don't have to tap + until you reach 100

issue with manifest

Attribute application@icon value=(@mipmap/logo) from AndroidManifest.xml:11:9-36
is also present at [com.cepheuen.elegant-number-button:lib:1.0.2] AndroidManifest.xml:13:9-43 value=(@mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:9:5-36:19 to override.

Issue in displaying

Error the text didn't appear in the button
I tried changing the color of the text and still, there's no text in the button

Untitled

R$id.class blocked by antivirus when trying to run sample

Avira antivirus detects the R$id.class file of the library as a virus/malware

The pattern of 'EXP/Flash.EB.212 [exploit]'
detected in file 'C:....\app\build\intermediates\transforms\instantRunSlicer\debug\folders\1\5\slice_5\com\cepheuen\elegantnumberbutton\R$id.class.
Action performed: Move file to quarantine

Suggestion to help more people find this library

Just a suggestion, but because this is essentially an Android equivalent of a UIStepper, you may want to consider adding a UIStepper (& Stepper) tag. I was searching for a library like this but I didn't find this through GitHub's search. I found it through Google.

It there a way to set range?

Is there a built in method to set min and max acceptable values.

Use case: I want users to only be able to select values between 1 and 5.

No Background Color change Dynamically

I am creating an app which I use this library for adding the cart item but the problem is button colour not change in dynamically. I use this code but not change the color

numberButton.setOnValueChangeListener(new ElegantNumberButton.OnValueChangeListener() {
                @Override
                public void onValueChange(ElegantNumberButton view, int oldValue, int newValue) {
                    if(newValue!=0)
                        numberButton.setBackgroundColor(getResources().getColor(R.color.lime_green));
                    else
                        numberButton.setBackgroundColor(getResources().getColor(R.color.yellow));
                }
            });

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.