CreateProfileActivity: properly implement edge-to-edge

This commit is contained in:
adbenitez
2025-11-26 06:01:49 +01:00
parent aaa8a07511
commit 7829ff0a83
2 changed files with 5 additions and 4 deletions
@@ -76,7 +76,6 @@ public class CreateProfileActivity extends BaseActionBarActivity {
getSupportActionBar().setTitle(R.string.pref_profile_info_headline);
getSupportActionBar().setDisplayHomeAsUpEnabled(!this.fromWelcome);
getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_close_white_24dp);
getSupportActionBar().setElevation(0); // TODO: use custom toolbar instead
attachmentManager = new AttachmentManager(this, () -> {});
avatarChanged = false;
@@ -182,6 +181,9 @@ public class CreateProfileActivity extends BaseActionBarActivity {
this.container = ViewUtil.findById(this, R.id.container);
this.statusView = ViewUtil.findById(this, R.id.status_text);
// add padding to avoid content hidden behind system bars
ViewUtil.applyWindowInsets(container);
if (fromWelcome) {
String addr = DcHelper.get(this, "addr");
loginSuccessText.setText(R.string.set_name_and_avatar_explain);