button.setEnabled(false);
I would like to know the default transparency at this time.Or I want to lose transparency when it's false.
Tried
textView.setText(String.valueOf(button.getAlpha()));// The result was 1.
When enabled false, it means that it is transparent in 1 state, so what should I do with this?
android java
Let me finish (posted by the questioner himself)
I wanted to change the default color transparency when setEnabled is false, but I don't think I need to be too particular about it.
You can find a way to specify the status by xml by searching the Internet.
I don't know how to erase the question, so I'll leave it as it is for now.
Excuse me.
577 Who developed the "avformat-59.dll" that comes with FFmpeg?
925 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
620 GDB gets version error when attempting to debug with the Presense SDK (IDE)
627 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.