mms.apk modden

cx555

cx555

Neues Mitglied
3
[FONT=&quot]moin moin

ich hab mal eine frage und zwar hab ich den rom von cynob auf mein handy mit ics theme. kann mir vielleicht jemand sagen wie ich in der mms.apk den weißen hintergrund wieder schwarz machen kann!?

vielen dank für eure mühe

Antworten:

Farbe ändern: Post 4

Hintergrundbild einfügen:
Post 7
[/FONT]
 
Zuletzt bearbeitet:
ich vermute die bilder in den drawable bearbeiten. system/app/mms.apk/res dann dort in den ordnern bisschen suchen.

Gesendet von meinem GT-I9001 mit Tapatalk
 
[FONT=&quot]moin
die bilder hab ich mir schon alle angesehen und auch teilweise geändert.
ich vermute jetzt das der hintergrund farbcode in einer xml stehen muss.
ich weiß aber nicht in welcher und an welcher stelle in der xml wenn es so ist!
(ps. dekompiliert hab ich die apk)[/FONT]
 
ich hab es jetzt doch selber gefunden:thumbup:,
in mms.apk/res/layout/compose_message_activity.xml muss folgendes (im code unten rot markirt) von ffffff zu 000000 geändert werden den ist der conversation hintergrung wieder schwarz!


Code:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <ViewStub android:id="@id/contact_header" android:visibility="gone" android:layout="@layout/message_contact_header" android:layout_width="fill_parent" android:layout_height="wrap_content" />
    <LinearLayout android:orientation="vertical" android:id="@id/recipients_subject_linear" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <LinearLayout android:orientation="vertical" android:id="@id/recipients_field" android:background="@drawable/msg_header" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <RelativeLayout android:id="@id/recipients_field_to" android:visibility="gone" android:addStatesFromChildren="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="53.0dip">
                <com.android.mms.ui.RecipientsEditor android:textSize="16.0sp" android:id="@id/recipients_editor_to" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="4.0dip" android:hint="@string/to_hint" android:inputType="textFilter" android:privateImeOptions="inputType=mmsRecipient" />
                <TextView android:textSize="14.329987sp" android:textStyle="bold" android:textColor="#ffffffff" android:id="@id/text_to_counter" android:background="#88000000" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:layout_marginRight="3.0dip" android:maxLines="1" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
            </RelativeLayout>
            <ViewStub android:id="@id/add_recipient_button_stub" android:visibility="gone" android:layout="@layout/add_recipients_button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginRight="4.0dip" />
        </LinearLayout>
        <EditText android:textSize="16.0sp" android:id="@id/subject" android:visibility="gone" android:nextFocusDown="@id/embedded_text_editor" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="3.0dip" android:layout_marginRight="4.0dip" android:hint="@string/subject_hint" android:singleLine="true" android:maxLength="40" android:capitalize="sentences" android:autoText="true" />
    </LinearLayout>
    <LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#ff[U][B][COLOR=Red]000000[/COLOR][/B][/U]" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <view android:scrollbarAlwaysDrawVerticalTrack="true" android:scrollbarStyle="insideOverlay" android:id="@id/history" android:visibility="gone" android:fadingEdge="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:listSelector="@drawable/chat_history_selector" android:drawSelectorOnTop="true" android:stackFromBottom="false" android:transcriptMode="alwaysScroll" android:cacheColorHint="@android:color/transparent" android:divider="@android:drawable/divider_horizontal_bright" android:layout_weight="1.0" class="com.android.mms.ui.MessageListView" />
        <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <ScrollView android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
                <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
                    <LinearLayout android:orientation="horizontal" android:id="@id/attachment_list_view" android:focusable="false" android:focusableInTouchMode="false" android:visibility="gone" android:clickable="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
                        <ListView android:id="@id/attchment_list" android:layout_width="fill_parent" android:layout_height="fill_parent" android:stackFromBottom="true" android:divider="@android:color/transparent" />
                    </LinearLayout>
                    <view android:orientation="vertical" android:id="@id/attachment_editor" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.mms.ui.AttachmentEditor">
                        <ViewStub android:id="@id/image_attachment_view_portrait_stub" android:layout="@layout/image_attachment_view_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <ViewStub android:id="@id/video_attachment_view_portrait_stub" android:layout="@layout/video_attachment_view_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <ViewStub android:id="@id/audio_attachment_view_portrait_stub" android:layout="@layout/audio_attachment_view_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <ViewStub android:id="@id/slideshow_attachment_view_portrait_stub" android:layout="@layout/slideshow_attachment_view_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <ViewStub android:id="@id/image_attachment_view_landscape_stub" android:layout="@layout/image_attachment_view_landscape" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <ViewStub android:id="@id/video_attachment_view_landscape_stub" android:layout="@layout/video_attachment_view_landscape" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <ViewStub android:id="@id/audio_attachment_view_landscape_stub" android:layout="@layout/audio_attachment_view_landscape" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                        <ViewStub android:id="@id/slideshow_attachment_view_landscape_stub" android:layout="@layout/slideshow_attachment_view_landscape" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                    </view>
                </LinearLayout>
            </ScrollView>
            <LinearLayout android:orientation="horizontal" android:id="@id/bottom_panel" android:background="@drawable/msg_input_bg" android:paddingLeft="1.0dip" android:paddingTop="6.0dip" android:paddingRight="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
                <RelativeLayout android:id="@id/editor_with_counter" android:addStatesFromChildren="true" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                    <EditText android:textSize="16.0sp" android:id="@id/embedded_text_editor" android:background="@android:drawable/edit_text" android:scrollbars="vertical" android:nextFocusRight="@id/send_button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/type_to_compose_text_enter_to_send" android:capitalize="sentences" android:autoText="true" android:inputType="textCapSentences|textAutoCorrect|textMultiLine" android:imeOptions="actionSend|flagNoEnterAction" />
                    <TextView android:textSize="11.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:id="@id/text_counter" android:background="#88000000" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
                </RelativeLayout>
                <Button android:textSize="16.0sp" android:layout_gravity="center_vertical" android:id="@id/send_button" android:nextFocusLeft="@id/embedded_text_editor" android:layout_width="74.0dip" android:layout_height="fill_parent" android:layout_marginBottom="1.0dip" android:text="@string/send" style="\?android:attr/buttonStyle" />
            </LinearLayout>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>
 
  • Danke
Reaktionen: Keinbockwurst
Magst du die apk hochladen? :)
 
Okay... ihr die apk mit vorher nachher vergleich damit auch jeder weiß was ich meinte!
Die apk kommt aus den rom von Crybernation 1.0.1 ICS Theme:thumbsup:!


Vorher:
SC20120603-114945.png Nachher:SC20120603-115215.png

Und hier die apk: Anhang anzeigen Mms.apk

LG CX555
 
  • Danke
Reaktionen: Casper198 und Keinbockwurst
Moin moin


nach einer langen such des hier beschriebenden Problem bin ich immer wieder auf die Frage gestoßen ob man nicht ein eigenes Bild als sms Hintergrund nehmen kann! Ich habe mal ein bisschen rum gespielt und ich sagen ja es geht! Ist aber alles nicht ganz so leicht für Anfänger!

SC20120607-191416.png SC20120607-191310.png

Also habe ich hier eine klein Anleitung für das Galaxy s Plus für euch!

Weder ich noch Android-Hifle übernehme Garantie auf Erfolg und/oder Schäden an euren Handy!!!

1. Als erstes müssen wir erst mal ein Hintergrund Bild herstellen ich benutze für dieses Gimp! Sucht euch ein beliebiges Bild schneidet das Hauptmotiv mit 480x740 aus. Erstelle jetzt ein neues Bild mit den Maßen 480x740.Fügt jetzt euer ausgeschnittenes Motiv ein. Speichert es unter ein beliebigen Namen mit der Endung .png ich habe meins msg_bg.9.png genannt!


Backside Babe_561.jpg msg_bg.png

2. Jetzt muss euer mms.apk dekompiliert werden, hier ein Anleitung wie das geht und was man alles brauch.

4. Öffnet jetzt in der dekompilierten apk res/drawable-hdpi und füg hier euer Bild ein! Sucht jetzt noch das Bild was msg_input_bg.9.png heißt und öffne es mit Gimp! Vergrößer es auf 800% und schneidet alles aus bis auf den 1 Pixel breiten schwarzen Rand drum herum und den Pixel breiten grauen stich oben aus ! speichern und ersetzten!

Unbenannt.png Unbenannt1.png

5. Geht jetzt zur XML mms.apk/res/layout/compose_message_activity.xml öffnet diese mit notepad++ und änder wie in post 2 zu sehen die markierte stelle
Von: android:background="#ffffffff"

Unbenannt2.png

In: android:background="@ drawable/msg_bg"

Unbenannt3.png

msg_bg = Name des erstellten Bildes!

6. jetzt die apk wieder kompilieren und auf euer Handy mit ein root Explorer in system/app ersetzen und ein reboot machen!

Viel spass und erfolg
cx555
 

Ähnliche Themen

R
  • Red-Killer
Antworten
2
Aufrufe
1.352
Red-Killer
R
da_official
Antworten
1
Aufrufe
803
magicw
magicw
Zurück
Oben Unten