diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 5e84ee7..aa6b1e9 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,128 +1,129 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="it.reyboz.bustorino"> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> <uses-permission android:name="android.permission.READ_PHONE_STATE"/> <application android:name=".BustoApp" android:networkSecurityConfig="@xml/networks_security_config" android:allowBackup="true" - android:icon="@drawable/ic_launcher" + android:icon="@mipmap/ic_launcher" + android:roundIcon="@mipmap/ic_launcher_round" android:label="@string/app_name" android:theme="@style/AppTheme"> <activity android:name=".ActivityMain" android:label="@string/app_name" android:screenOrientation="portrait" android:windowSoftInputMode="adjustResize"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:host="www.gtt.to.it" android:pathPrefix="/cms/percorari/arrivi" android:scheme="http"/> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:host="gtt.to.it" android:pathPrefix="/cms/percorari/arrivi" android:scheme="http"/> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:host="m.gtt.to.it" android:pathPrefix="/m/it/arrivi.jsp" android:scheme="http"/> </intent-filter> </activity> <activity android:name=".ActivityAbout" android:label="@string/about" android:parentActivityName=".ActivityMain" android:theme="@style/AboutTheme"> <!-- API < 16: --> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".ActivityMain"/> </activity> <activity android:name=".ActivityFavorites" android:label="@string/title_activity_favorites" android:parentActivityName=".ActivityMain" android:theme="@style/FavTheme"> <!-- API < 16: --> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".ActivityMain"/> </activity> <activity android:name=".ActivityMap" android:label="@string/title_activity_map" android:parentActivityName=".ActivityMain" android:theme="@style/MapTheme"> <!-- API < 16: --> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".ActivityMain"/> </activity> <provider android:name=".middleware.AppDataProvider" android:authorities="it.reyboz.bustorino.provider" android:enabled="true" android:exported="false"> </provider> <service android:name=".middleware.DatabaseUpdateService" android:exported="false"> </service> <!-- Don't show the additional frame on samsung phones --> <meta-data android:name="com.samsung.android.icon_container.has_icon_container" android:value="true"/> <activity android:name=".ActivitySettings" android:label="@string/title_activity_settings" android:parentActivityName=".ActivityMain" android:theme="@style/AppTheme"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="it.reyboz.bustorino.ActivityMain"/> </activity> </application> </manifest> diff --git a/ic_launcher-playstore.png b/ic_launcher-playstore.png new file mode 100644 index 0000000..07ca9b1 Binary files /dev/null and b/ic_launcher-playstore.png differ diff --git a/ic_launcher-web.png b/ic_launcher-web.png deleted file mode 120000 index 69597d4..0000000 --- a/ic_launcher-web.png +++ /dev/null @@ -1 +0,0 @@ -res/drawable-xxxhdpi/ic_launcher.png \ No newline at end of file diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png index 21d81e5..266a759 100644 Binary files a/res/drawable-hdpi/ic_launcher.png and b/res/drawable-hdpi/ic_launcher.png differ diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png index 3a46e02..71abcbe 100644 Binary files a/res/drawable-mdpi/ic_launcher.png and b/res/drawable-mdpi/ic_launcher.png differ diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png index f6e9727..7f0be0d 100644 Binary files a/res/drawable-xhdpi/ic_launcher.png and b/res/drawable-xhdpi/ic_launcher.png differ diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png index 560bc84..643c9c6 100644 Binary files a/res/drawable-xxhdpi/ic_launcher.png and b/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/res/drawable-xxxhdpi/ic_launcher.png b/res/drawable-xxxhdpi/ic_launcher.png index 3095109..7cd95e5 100644 Binary files a/res/drawable-xxxhdpi/ic_launcher.png and b/res/drawable-xxxhdpi/ic_launcher.png differ diff --git a/res/mipmap-anydpi-v26/ic_launcher.xml b/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..036d09b --- /dev/null +++ b/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> + <background android:drawable="@color/ic_launcher_background"/> + <foreground android:drawable="@mipmap/ic_launcher_foreground"/> +</adaptive-icon> \ No newline at end of file diff --git a/res/mipmap-anydpi-v26/ic_launcher_round.xml b/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..036d09b --- /dev/null +++ b/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> + <background android:drawable="@color/ic_launcher_background"/> + <foreground android:drawable="@mipmap/ic_launcher_foreground"/> +</adaptive-icon> \ No newline at end of file diff --git a/res/mipmap-hdpi/ic_launcher.png b/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..ffc7e49 Binary files /dev/null and b/res/mipmap-hdpi/ic_launcher.png differ diff --git a/res/mipmap-hdpi/ic_launcher_background.png b/res/mipmap-hdpi/ic_launcher_background.png new file mode 100644 index 0000000..f4c6132 Binary files /dev/null and b/res/mipmap-hdpi/ic_launcher_background.png differ diff --git a/res/mipmap-hdpi/ic_launcher_foreground.png b/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..5df23f9 Binary files /dev/null and b/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/res/mipmap-hdpi/ic_launcher_round.png b/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000..ff37f4b Binary files /dev/null and b/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/res/mipmap-mdpi/ic_launcher.png b/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..2289815 Binary files /dev/null and b/res/mipmap-mdpi/ic_launcher.png differ diff --git a/res/mipmap-mdpi/ic_launcher_background.png b/res/mipmap-mdpi/ic_launcher_background.png new file mode 100644 index 0000000..ccfc690 Binary files /dev/null and b/res/mipmap-mdpi/ic_launcher_background.png differ diff --git a/res/mipmap-mdpi/ic_launcher_foreground.png b/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..8ff1620 Binary files /dev/null and b/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/res/mipmap-mdpi/ic_launcher_round.png b/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000..eb8e9ef Binary files /dev/null and b/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/res/mipmap-xhdpi/ic_launcher.png b/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..e6352dc Binary files /dev/null and b/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/res/mipmap-xhdpi/ic_launcher_background.png b/res/mipmap-xhdpi/ic_launcher_background.png new file mode 100644 index 0000000..2b64a14 Binary files /dev/null and b/res/mipmap-xhdpi/ic_launcher_background.png differ diff --git a/res/mipmap-xhdpi/ic_launcher_foreground.png b/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..d210af2 Binary files /dev/null and b/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/res/mipmap-xhdpi/ic_launcher_round.png b/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000..e8ac438 Binary files /dev/null and b/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/res/mipmap-xxhdpi/ic_launcher.png b/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..ad2af1e Binary files /dev/null and b/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/res/mipmap-xxhdpi/ic_launcher_background.png b/res/mipmap-xxhdpi/ic_launcher_background.png new file mode 100644 index 0000000..2a8f406 Binary files /dev/null and b/res/mipmap-xxhdpi/ic_launcher_background.png differ diff --git a/res/mipmap-xxhdpi/ic_launcher_foreground.png b/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..9ba9e5f Binary files /dev/null and b/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/res/mipmap-xxhdpi/ic_launcher_round.png b/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..e0dcec9 Binary files /dev/null and b/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/res/mipmap-xxxhdpi/ic_launcher.png b/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..5580ae4 Binary files /dev/null and b/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/res/mipmap-xxxhdpi/ic_launcher_background.png b/res/mipmap-xxxhdpi/ic_launcher_background.png new file mode 100644 index 0000000..fa22841 Binary files /dev/null and b/res/mipmap-xxxhdpi/ic_launcher_background.png differ diff --git a/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..960fba0 Binary files /dev/null and b/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/res/mipmap-xxxhdpi/ic_launcher_round.png b/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..f55623c Binary files /dev/null and b/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/res/values/ic_launcher_background.xml b/res/values/ic_launcher_background.xml new file mode 100644 index 0000000..ae92c38 --- /dev/null +++ b/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="ic_launcher_background">#4A6D95</color> +</resources> \ No newline at end of file