Tipps gesucht zur Veränderung der Statusleiste

  • 11 Antworten
  • Neuester Beitrag
Diskutiere Tipps gesucht zur Veränderung der Statusleiste im Android OS Entwicklung / Customize im Bereich Android App Entwicklung.
papanetti

papanetti

Erfahrenes Mitglied
Hallo an alle,

bitte nicht steinigen, aber ich hab hier schon rauf und runter geschaut, der Kopf brummt, der Magen krümmt sich:
Wie kann ich es anstellen, dass ich bei einem stinknormalem Rom (JB XXLSJ 4.1.2) die Stausleiste so verändere, dass ich den Provider mit angezeigt bekomme und das Datum in der Mitte steht. Ich hab das Rom schon auseinander genommen, aber wo genau muss ich schauen? Ist es im Framework und/oder in SystemUI. Ich möchte mir die entsprechenden Passagen in Eclypse dann verändern.

Vielleicht hat ja jemand einen Denkanstoß für mich? :confused:
 
P

perpe

Gast
Die Statusbar ist in der SystemUI.apk definiert. Du musst die jedoch dekompilieren, um sie dann verändern zu können, z.B. mit dem apktool.
 
papanetti

papanetti

Erfahrenes Mitglied
Hab die SystemUI jetzt decompilliert. Habe dann in der status_bar.xml den Code etwas verändert (wollte die Uhrzeit in der Mitte haben). Danach der Versuch, wieder zu compillieren:
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\android\APKTool_JellyBean>apktool b -f SystemUI SystemUI2.apk
I: Smaling...
I: Building resources...
C:\android\APKTool_JellyBean\SystemUI\res\layout\status_bar.xml:21: error: Error
 parsing XML: not well-formed (invalid token)
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default tran
slation in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default tran
slation in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_no_year' has no default translation
 in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in
 C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'am' has no default translation in C:\android\APKTool_Jell
yBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:
\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:
\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in
C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C
:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in
 C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in
C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in
C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in
C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in
 C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation
in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C
:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C
:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in
 C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C
:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in
 C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in
C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation
 in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation
 in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation
in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translatio
n in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\androi
d\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\andro
id\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\and
roid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\and
roid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\andr
oid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\android
\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\android
\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\androi
d\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\android\
APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\and
roid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\andr
oid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\an
droid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation
in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translatio
n in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translatio
n in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation
 in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in
 C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in
 C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation i
n C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in
C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translatio
n in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation
 in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translati
on in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\andr
oid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\and
roid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\a
ndroid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_february' has no defaultException in thread
"main"  translation in C:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\an
droid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\andro
id\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\andro
id\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\andr
oid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\androi
d\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\a
ndroid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\an
droid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\
android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\an
droid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\a
ndroid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:
\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:
\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\
android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\and
roid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\and
roid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\an
droid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\andr
oid\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:
\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\
android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C
:\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\android\APKTool_Jell
yBean\SystemUI\res; found: mk
aapt: warning: string 'today' has no default translation in C:\android\APKTool_J
ellyBean\SystemUI\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\android\APKToo
l_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:
\android\APKTool_JellyBean\SystemUI\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\android\APKTo
ol_JellyBean\SystemUI\res; found: mk
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Henr
y\AppData\Local\Temp\APKTOOL8923057108034755010.tmp, -I, C:\Users\Henry\apktool\
framework\1.apk, -S, C:\android\APKTool_JellyBean\SystemUI\res, -M, C:\android\A
PKTool_JellyBean\SystemUI\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
        at brut.androlib.Androlib.buildResources(Androlib.java:269)
        at brut.androlib.Androlib.build(Androlib.java:192)
        at brut.androlib.Androlib.build(Androlib.java:174)
        at brut.apktool.Main.cmdBuild(Main.java:188)
        at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Henry\AppData\Local\Temp\A
PKTOOL8923057108034755010.tmp, -I, C:\Users\Henry\apktool\framework\1.apk, -S, C
:\android\APKTool_JellyBean\SystemUI\res, -M, C:\android\APKTool_JellyBean\Syste
mUI\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
        ... 6 more

C:\android\APKTool_JellyBean>
Was mache ich falsch?
 
finnq

finnq

Ehrenmitglied
Hast bestimmt vergessen irgendwas zu schließen. Ohne die von dir genannte XML Datei können wir dir nicht wirklich helfen.
 
P

perpe

Gast
Hast du mit dem apktool zuvor die framework-res.apk installiert?

Gesendet von meinem Nexus 7 mit Tapatalk 2
 
papanetti

papanetti

Erfahrenes Mitglied
@finnq

Es geht sich um folgende Datei: status_bar.xml
Original
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    <ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
        </LinearLayout>
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
            <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
            <ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </LinearLayout>
        <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.phone.TickerView>
    </LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Verändert:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
 <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="2.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />

</LinearLayout> 
    <ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
        </LinearLayout>
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
            <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
            <ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        </LinearLayout>
        < />
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.phone.TickerView>
    </LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Ich wollte ja nur das Datum in die Mitte bekommen. Na ja, und eigentlich wollte ich auch das Battery-Symbol weg haben und nur die Zahlen für die Prozente, aber da weis ich nicht, wo ich ansetzen soll.

@perpe

Ja, hab ich installiert. Unter 1.apk. Und weil es TW ist, hab ich auch die twframework-res.apk unter 2.apk installiert.

Aber irgendwie reichen meine paar grauen Zellen eben noch nicht.
 
P

perpe

Gast
Kam erst jetzt dazu mir deine XML anzusehen, das < />, ziemlich mittig im Code, gehört da nicht hin. Mach das weg und kontrolliere, ob alle Tags geschlossen sind.
 
Zuletzt bearbeitet von einem Moderator:
papanetti

papanetti

Erfahrenes Mitglied
Frage an die Profis unter euch:

Kann man in Eclipse irgenwie bei der SystemUI und der framework-res gemachte Veränderungen auch grafisch sehen? Oder wie macht ihr das, wenn ihr .xml verändert? Ich meine, zur grafischen Verdeutlichung der geänderten .xml.
Weil, ich hab nur das eine S2 und möchte gern vorher sehen, wie sich Änderungen auswirken können.

Danke im Voraus für Hinweise :confused2:
 
finnq

finnq

Ehrenmitglied
Mit sehr sehr sehr sehr viel Aufwand wird es vielleicht (!) gehen. Aber einfach mal so nebenbei wird das denke ich nichts. Hat bisher noch keiner gebraucht :-D.

//tapatalked / Nexus 4 / CM10.1 F'Bs
 
papanetti

papanetti

Erfahrenes Mitglied
Wie kann ich es dann einrichten, dass ich visuell eventuelle Veränderungen sehe, bevor ich flashe?
 
Ähnliche Themen - Tipps gesucht zur Veränderung der Statusleiste Antworten Datum
8