blob: a407b0a95c51d7a78b97653b16419dc266d6f258 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package se.leap.bitmaskclient;
import android.os.Bundle;
import android.support.annotation.Nullable;
import butterknife.OnClick;
/**
* Activity to login to chosen Provider
*
* Created by fupduck on 09.01.18.
*/
public class LoginActivity extends ProviderCredentialsBaseActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setProgressbarText(R.string.logging_in);
setProviderHeaderLogo(R.drawable.mask);
setProviderHeaderText(R.string.login_to_profile);
}
@Override
@OnClick(R.id.button)
void handleButton() {
super.handleButton();
login(getUsername(), getPassword());
}
}
|