Comments (4)
Hi ,
I want to know how to disable confirm button please make some method to Disable Confirm button Thank you.
can you tell me for what reason you want to disable confirm button
from kalertdialog.
Business requirements need Disable confirm button or hide for Show only Message because dialog will auto disappear in 1 sec .
from kalertdialog.
Business requirements need Disable confirm button or hide for Show only Message because dialog will auto disappear in 1 sec .
Ok Bro....I will update this library.
from kalertdialog.
Business requirements need Disable confirm button or hide for Show only Message because dialog will auto disappear in 1 sec .
Hi I have updated the library as per your requirement just see the Readme File about how you can hide the confirm button....to hide confirm button
To Hide Cancel And Confirm Button:
new KAlertDialog(this, KAlertDialog.CUSTOM_IMAGE_TYPE)
.setTitleText("Sweet!")
.setContentText("Here's a custom image.")
.setCustomImage(R.drawable.custom_img)
.setConfirmText("OK") //Do not call this if you don't want to show confirm button
.setCancelText("CANCEL")//Do not call this if you don't want to show cancel button
.show();
from kalertdialog.
Related Issues (20)
- Unable to Cancel even set cancalable is true HOT 1
- Error after generate sign apk of my project HOT 2
- How can i display keyboard when i use editText
- Hidden Navigation Bar not working after dismiss dialog
- New Feature :- Button size HOT 1
- OK button disappear
- Text in buttons appears cutted HOT 2
- Dialog is too small HOT 4
- Custom text color and text font HOT 2
- cancelButtonColor not change the color HOT 4
- Not working when minifyEnabled True in Gradle HOT 1
- Why does the constructor require a res-id? HOT 1
- Can't determine type for tag HOT 1
- NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController; HOT 1
- Auto dark mode HOT 2
- How to change default text on input? HOT 1
- Title text is truncated
- unable to change button color HOT 1
- version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kalertdialog.