mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Set activity title in manifest instead of code
This commit is contained in:
parent
3970ccf94e
commit
6886a9b0f0
2 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".ScannerActivity"
|
android:name=".ScannerActivity"
|
||||||
|
android:label="Scan a QR code"
|
||||||
android:theme="@style/AppTheme.Fullscreen"
|
android:theme="@style/AppTheme.Fullscreen"
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:configChanges="keyboardHidden|orientation|screenSize">
|
android:configChanges="keyboardHidden|orientation|screenSize">
|
||||||
|
|
|
@ -23,7 +23,6 @@ public class ScannerActivity extends AegisActivity implements ZXingScannerView.R
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle state) {
|
protected void onCreate(Bundle state) {
|
||||||
super.onCreate(state);
|
super.onCreate(state);
|
||||||
setTitle("Scan a QR code");
|
|
||||||
|
|
||||||
_scannerView = new ZXingScannerView(this) {
|
_scannerView = new ZXingScannerView(this) {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue