mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 00:21:10 +00:00
Smal improvement
This commit is contained in:
parent
46cfcdcf7e
commit
7f0b3ab77c
1 changed files with 6 additions and 1 deletions
|
@ -26,6 +26,7 @@ import android.content.Intent;
|
|||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.text.Spanned;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
|
||||
|
@ -49,12 +50,16 @@ public class ActivityDSN extends ActivityBase {
|
|||
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
getSupportActionBar().setSubtitle("DSN");
|
||||
setContentView(R.layout.activity_dsn);
|
||||
|
||||
View view = LayoutInflater.from(this).inflate(R.layout.activity_dsn, null);
|
||||
setContentView(view);
|
||||
|
||||
tvHeaders = findViewById(R.id.tvHeaders);
|
||||
pbWait = findViewById(R.id.pbWait);
|
||||
grpReady = findViewById(R.id.grpReady);
|
||||
|
||||
// Initialize
|
||||
FragmentDialogTheme.setBackground(this, view, false);
|
||||
grpReady.setVisibility(View.GONE);
|
||||
|
||||
load();
|
||||
|
|
Loading…
Add table
Reference in a new issue