Rename launcher icon to "Loop"

This commit is contained in:
2019-12-30 16:39:47 -06:00
parent 61cd77e5df
commit 5947926cd5
3 changed files with 7 additions and 5 deletions

View File

@@ -34,7 +34,7 @@
android:allowBackup="true"
android:backupAgent=".HabitsBackupAgent"
android:icon="@mipmap/ic_launcher"
android:label="@string/main_activity_title"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppBaseTheme">
<meta-data
@@ -44,17 +44,16 @@
<activity
android:name=".activities.habits.list.ListHabitsActivity"
android:exported="true"
android:label="@string/main_activity_title"
android:label="@string/app_short_name"
android:launchMode="singleTop"/>
<activity-alias
android:name=".MainActivity"
android:label="@string/main_activity_title"
android:label="@string/app_short_name"
android:launchMode="singleTop"
android:targetActivity=".activities.habits.list.ListHabitsActivity">
<intent-filter android:label="@string/app_name">
<intent-filter android:label="@string/app_short_name">
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity-alias>

View File

@@ -20,6 +20,7 @@
package org.isoron.uhabits.activities.habits.list
import android.os.*
import org.isoron.uhabits.*
import org.isoron.uhabits.activities.*
import org.isoron.uhabits.activities.habits.list.views.*
import org.isoron.uhabits.core.preferences.*
@@ -46,6 +47,7 @@ class ListHabitsActivity : HabitsActivity() {
setScreen(screen)
component.listHabitsBehavior.onStartup()
setTitle(R.string.main_activity_title)
}
override fun onPause() {

View File

@@ -20,6 +20,7 @@
<resources>
<string name="app_name">Loop Habit Tracker</string>
<string name="app_short_name">Loop</string>
<string name="main_activity_title">Habits</string>
<string name="action_settings">Settings</string>
<string name="edit">Edit</string>