diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-29 14:52:52 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-29 14:52:52 +0200 |
commit | 23fdefff77bc39e021827ffc0cfd3217da873bda (patch) | |
tree | eaa3f832583d08732699e6e9b142b3786d20a2c7 /src/main/java | |
parent | 4ddaa45ee3dd1a346da254f2ca9b72c933dc2292 (diff) |
some more theme fixes
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/RecordingActivity.java | 2 | ||||
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/UpdaterActivity.java | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/RecordingActivity.java b/src/main/java/de/pixart/messenger/ui/RecordingActivity.java index 3aaa6b42b..b49566c27 100644 --- a/src/main/java/de/pixart/messenger/ui/RecordingActivity.java +++ b/src/main/java/de/pixart/messenger/ui/RecordingActivity.java @@ -70,6 +70,8 @@ public class RecordingActivity extends XmppActivity implements View.OnClickListe @Override protected void onStart() { super.onStart(); + this.mTheme = findTheme(); + setTheme(this.mTheme); Log.d(Config.LOGTAG, "output: " + getOutputFile()); if (!startRecording()) { mStopButton.setEnabled(false); diff --git a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java index 562b75313..96d53aa97 100644 --- a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java +++ b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java @@ -50,6 +50,10 @@ public class UpdaterActivity extends XmppActivity { //set activity setContentView(R.layout.activity_updater); + + this.mTheme = findTheme(); + setTheme(this.mTheme); + TextView textView = findViewById(R.id.updater); textView.setText(R.string.update_info); @@ -76,6 +80,11 @@ public class UpdaterActivity extends XmppActivity { @Override protected void onStart() { super.onStart(); + this.mTheme = findTheme(); + setTheme(this.mTheme); + setTitle(getString(R.string.update_service)); + setSupportActionBar(findViewById(R.id.toolbar)); + configureActionBar(getSupportActionBar()); if (getIntent() != null && getIntent().getStringExtra("update").equals("PixArtMessenger_UpdateService")) { try { appURI = getIntent().getStringExtra("url"); |