mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-16 15:02:54 +00:00
Started working on a new 'Add'-Activity
This commit is contained in:
parent
8063ba11f1
commit
c5626a41a7
5 changed files with 95 additions and 6 deletions
15
app/src/main/java/me/impy/aegis/AddProfileActivity.java
Normal file
15
app/src/main/java/me/impy/aegis/AddProfileActivity.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
package me.impy.aegis;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
import android.view.Window;
|
||||
|
||||
public class AddProfileActivity extends Activity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_add_profile);
|
||||
}
|
||||
}
|
|
@ -113,8 +113,9 @@ public class MainActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
keyProfile.Code = otp;
|
||||
|
||||
new LovelyTextInputDialog(this, R.style.EditTextTintTheme)
|
||||
Intent intent = new Intent(this, AddProfileActivity.class);
|
||||
startActivity(intent);
|
||||
/* new LovelyTextInputDialog(this, R.style.EditTextTintTheme)
|
||||
.setTopColorRes(R.color.colorHeaderSuccess)
|
||||
.setTitle("New profile added")
|
||||
.setMessage("How do you want to call it?")
|
||||
|
@ -141,7 +142,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
}
|
||||
}
|
||||
})
|
||||
.show();
|
||||
.show();*/
|
||||
|
||||
//TODO: do something with the result.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue