Sunday, February 9, 2014

Menambah Jam Analog Di Statusbar Expanded



> Decompile SystemUI.apk
> masuk ke /res/layout/
> Open status_bar_expanded.xml (for JB devices)
> cari kode
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
> dibawah kode tadi tambahkan kode dibawah ini
Code:
<AnalogClock android:layout_gravity="bottom" android:id="@id/analogClock1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="100.0dip" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" />

compare/bandingkan kode warna merah dengan punya anda

>done and compile

thx to
xda

Ditulis Oleh : Unknown // 1:04 AM
Kategori:

3 comments:

  1. I: Smaling...
    I: Building resources...
    aapt: warning: string 'data_connection_datach_timeout_error_msg' has no default translation in /sdcard/apktool/SystemUI_src/res; found: de es fr it pt ru th tr zh_TW
    /sdcard/apktool/SystemUI_src/res/layout/status_bar_expanded.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/analogClock1').
    Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL6767867943788067991.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/SystemUI_src/res, -M, /sdcard/apktool/SystemUI_src/AndroidManifest.xml]
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
    at brut.androlib.Androlib.buildResources(Androlib.java:283)
    at brut.androlib.Androlib.build(Androlib.java:206)
    at brut.androlib.Androlib.build(Androlib.java:176)
    at brut.apktool.Main.cmdBuild(Main.java:228)
    at brut.apktool.Main.main(Main.java:79)
    Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL6767867943788067991.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/SystemUI_src/res, -M, /sdcard/apktool/SystemUI_src/AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
    ... 5 more
    Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL6767867943788067991.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/SystemUI_src/res, -M, /sdcard/apktool/SystemUI_src/AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
    ... 6 more

    ReplyDelete
  2. Kok eror di string mastah,,
    Hrus di isi apa di string nya,,
    Dtunggu bimbingannya

    ReplyDelete
  3. sempak..bikin bootloop..ditanya gak dijawab..mastah copas ya..:v

    ReplyDelete

 

Followers

Powered by Blogger.