I can make it invisible using the code below, but can't disable it.
RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification); contentView.setViewVisibility(R.id.buttonToDisable, View.INVISIBLE);
Aucun commentaire:
Enregistrer un commentaire