Replace homescreen icon icon
Signed-off-by: binkybear <binkybear@nethunter.com>
1
.gitignore
vendored
@ -11,3 +11,4 @@
|
||||
/.idea/modules.xml
|
||||
/gradle.properties
|
||||
/term/term-release.apk
|
||||
/term/Term-nh.apk
|
||||
|
7
.idea/inspectionProfiles/Project_Default.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<option name="myLocal" value="true" />
|
||||
<inspection_tool class="AndroidLintSdCardPath" enabled="false" level="WARNING" enabled_by_default="false" />
|
||||
</profile>
|
||||
</component>
|
7
.idea/inspectionProfiles/profiles_settings.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="PROJECT_PROFILE" value="Project Default" />
|
||||
<option name="USE_PROJECT_PROFILE" value="true" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
@ -40,7 +40,7 @@
|
||||
android:description="@string/permdesc_prepend_to_path"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="dangerous" />
|
||||
<application android:icon="@drawable/ic_launcher"
|
||||
<application android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/application_terminal"
|
||||
android:hardwareAccelerated="true"
|
||||
android:theme="@style/Theme">
|
||||
|
BIN
term/src/main/ic_launcher-web.png
Normal file
After Width: | Height: | Size: 89 KiB |
@ -126,7 +126,7 @@ public class AddShortcut
|
||||
lv.addView(layoutTextViewH(getString(R.string.addshortcut_shortcut_label), et[NAME]));
|
||||
|
||||
final ImageView img=new ImageView(context);
|
||||
img.setImageResource(com.offsec.nhterm.R.drawable.ic_launcher);
|
||||
img.setImageResource(com.offsec.nhterm.R.mipmap.ic_launcher);
|
||||
img.setMaxHeight(100);
|
||||
img.setTag(0xFFFFFFFF);
|
||||
img.setMaxWidth(100);
|
||||
@ -281,7 +281,7 @@ public class AddShortcut
|
||||
{
|
||||
wrapper.putExtra(
|
||||
Intent.EXTRA_SHORTCUT_ICON_RESOURCE
|
||||
, Intent.ShortcutIconResource.fromContext(context, com.offsec.nhterm.R.drawable.ic_launcher)
|
||||
, Intent.ShortcutIconResource.fromContext(context, R.mipmap.ic_launcher)
|
||||
);
|
||||
}
|
||||
setResult(RESULT_OK, wrapper);
|
||||
|
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 1.9 KiB |
BIN
term/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
term/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
term/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
term/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
term/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 12 KiB |