Replace homescreen icon icon

Signed-off-by: binkybear <binkybear@nethunter.com>
This commit is contained in:
binkybear 2016-10-07 16:21:12 -05:00
parent 42e547279e
commit 2ac4061f8a
18 changed files with 18 additions and 3 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/.idea/modules.xml
/gradle.properties
/term/term-release.apk
/term/Term-nh.apk

View 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>

View 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>

View File

@ -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">

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

View File

@ -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);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB