Change the launcher icon and the toolbar title to andOTP

Fixes #6
This commit is contained in:
Jakob Nixdorf 2017-07-26 07:30:58 +02:00
parent 41c3406432
commit 0e0e869f2f
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC
3 changed files with 2 additions and 3 deletions

View file

@ -15,7 +15,7 @@
>
<activity
android:name=".MainActivity"
android:label="@string/app_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View file

@ -145,7 +145,7 @@ public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTitle(R.string.app_launcher);
setTitle(R.string.app_name);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
setContentView(R.layout.activity_main);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);

View file

@ -1,6 +1,5 @@
<resources>
<string name="app_name">andOTP</string>
<string name="app_launcher">OTP Authenticator</string>
<!-- Buttons -->
<string name="button_enter_details">Enter details</string>