Hallo zusammen!
Ich habe mir die MN Europa V4.0 gegönnt, und natürlich sofort ausprobieren müssen, ob man hier wieder eigene Skins basteln kann.
Man kann!
Ich habe dafür die ganze apk mit dem APKTool dekompiliert, danach zum testen die main_menu.xml (das Hauptmenü) bearbeitet.
-Navigon.apk vom Handy auf den PC laden
-dort die apk über die APK-Tools decompilieren
-dann die .xml-Dateien mit einem Texteditor öffnen und bearbeiten. (liegen im "res/layout" Verzeichnis) & Bilder im "res/drawable"Verzeichnis - Mit Bildern habe ich noch nicht experimentiert)
-danach wieder compilieren
-dann kommt der Knackpunkt!
Wenn man selber die erzeugte Datei signiert, ist sie zwar installierbar,aber es kann keine Bestellung mehr von zusätzlichen IN-APPs getätigt werden! Deshalb habe ich bisher die noch fehlenden Signaturdateien mittels 7zip aus der originalen apk in die neue selbsterstellte apk kopiert(hinzugefügt) und dann einfach die bereits installierte Datei im data/APP-Verzeichnis des Telefons überschrieben. Und dann läuft das auch - ALLERDINGS NUR BIS ZUM NÄCHSTEN NEUSTART DES TELEFONS!! Nach einem Neustart startet Navigon in der Originalversion - weiß bisher noch nicht genau warum, aber es scheint an 2 Dateien im data/app Verzeichnis zu liegen. Vielleicht findet das ja der eine oder andere bald heraus.
Weiter bin ich bisher auch noch nicht
Das gleiche Ergebnis vom Hauptmenü wie im Screenshot erhält man, wenn die "main_menu.xml" so abändert wird:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/main_menu" android:background="@color/screen_background_gray" android:layout_width="fill_parent" android:layout_height="fill_parent" android:keepScreenOn="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<include layout="@layout/headline" />
<LinearLayout android:orientation="vertical" android:id="@id/lin_layout" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginTop="20.0dip" android:layout_marginBottom="20.0dip" android:layout_weight="1.0">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginLeft="20.0dip" android:layout_marginBottom="10.0dip" android:layout_weight="0.5">
<com.navigon.navigator_checkout_eu40.hmi.widget.CustomHorizontalScrollView android:id="@id/scroll_1" android:fadingEdge="none" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="100.0dip">
<include android:id="@id/enter_address" android:layout_marginRight="20.0dip" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
<include android:id="@id/my_destinations" android:layout_marginLeft="20.0dip" android:layout_marginRight="20.0dip" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
<include android:id="@id/take_me_home" android:layout_marginRight="20.0dip" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
</LinearLayout>
</com.navigon.navigator_checkout_eu40.hmi.widget.CustomHorizontalScrollView>
</LinearLayout>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginLeft="20.0dip" android:layout_marginBottom="10.0dip" android:layout_weight="0.5">
<com.navigon.navigator_checkout_eu40.hmi.widget.CustomHorizontalScrollView android:id="@id/scroll_1" android:fadingEdge="none" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="100.0dip">
<include android:id="@id/item_1_1" android:layout_marginRight="20.0dip" android:visibility="gone" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
<include android:id="@id/search_poi" android:layout_marginRight="20.0dip" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
<include android:id="@id/show_map" android:layout_marginRight="20.0dip" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
</LinearLayout>
</com.navigon.navigator_checkout_eu40.hmi.widget.CustomHorizontalScrollView>
</LinearLayout>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginTop="10.0dip" android:layout_weight="0.5">
<com.navigon.navigator_checkout_eu40.hmi.widget.CustomHorizontalScrollView android:id="@id/scroll_2" android:fadingEdge="none" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="100.0dip">
<include android:id="@id/item_2_2" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
<include android:id="@id/item_2_1" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
<include android:id="@id/item_1_2" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
<include android:id="@id/item_2_3" android:visibility="gone" android:layout_width="80.0dip" android:layout_height="wrap_content" layout="@layout/no_margins_image_text_button" />
</LinearLayout>
</com.navigon.navigator_checkout_eu40.hmi.widget.CustomHorizontalScrollView>
</LinearLayout>
</LinearLayout>
<include android:id="@id/status_bar" layout="@layout/bottom_status_bar" />
</LinearLayout>
Alles anzeigen
So sieht das Hauptmenü momentan bei mir aus
Man kann über die xml-Dateien wieder vieles ändern, wie man es haben möchte.
EDIT:
hier poste ich ab jetzt immer die aktuellen Screenshots
VG
bigL