mirror of
https://gitee.com/willfree/min-vpn-client_v2.git
synced 2026-10-04 19:42:00 +08:00
添加导入、导出身份功能,目前导入到默认文件、从默认文件中读取
This commit is contained in:
1 parent
626e758158
commit
d62a6e8eb7
1 file changed
+5
@@ -12,6 +12,7 @@ import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.google.android.material.checkbox.MaterialCheckBox;
|
||||
import com.pkusz.min_vpn_client.GlobalSetting;
|
||||
@@ -60,6 +61,8 @@ public class LoginActivity extends MINVpnBaseActivity<LoginActivityPresenter>
|
||||
private ClearAbleEditText etUsername;
|
||||
private CircularProgressButton btnLogin;
|
||||
private ClearAbleEditText etPassword;
|
||||
private CircularProgressButton export_identity;
|
||||
private CircularProgressButton import_identity;
|
||||
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
@@ -75,6 +78,8 @@ public class LoginActivity extends MINVpnBaseActivity<LoginActivityPresenter>
|
||||
etUsername=findViewById(R.id.etUsername);
|
||||
btnLogin=findViewById(R.id.btnLogin);
|
||||
etPassword=findViewById(R.id.etPassword);
|
||||
export_identity=findViewById(R.id.export_identity);
|
||||
import_identity=findViewById(R.id.import_identity);
|
||||
|
||||
initView();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user