mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-09 23:41:08 +01:00
Some tweak in backupprefs
Fix issue in DrugListActivity The backupprefs dialog is displayed but the button are not usable, except cancel
This commit is contained in:
parent
51d36dc297
commit
b7e55fad28
2 changed files with 3 additions and 2 deletions
|
@ -725,8 +725,8 @@ public class DrugListActivity extends AppCompatActivity {
|
|||
btn_export.setEnabled(true);
|
||||
btn_import.setEnabled(false);
|
||||
|
||||
Button ok = dlg.findViewById(R.id.ok_btn);
|
||||
Button cancel = dlg.findViewById(R.id.cancel_btn);
|
||||
Button ok = dlg.findViewById(R.id.agreed);
|
||||
Button cancel = dlg.findViewById(R.id.notagreed);
|
||||
ok.setOnClickListener(v -> {
|
||||
dlg.cancel();
|
||||
//TODO: manage the options
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
android:layout_height="319dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:background="@color/white"
|
||||
app:cardCornerRadius="@dimen/btn_radius"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
Loading…
Reference in a new issue