更新重构

This commit is contained in:
wenyifan 2023-11-13 09:33:19 +08:00
parent cbe01e9338
commit b1512948bc
2 changed files with 3 additions and 2 deletions

View File

@ -191,6 +191,7 @@ public class MainActivity extends Activity {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.cancel();
binding.btnSave.setText(R.string.btn_edit);
binding.configEditText.setVisibility(View.GONE);
}
});

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
@ -76,4 +76,4 @@
</LinearLayout>
</ScrollView>
</LinearLayout>