忍者ブログ
androplus.orgへ移転しました。
数秒後に移動します。

[PR]

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。


通知領域を透過する

通知領域の背景を透過しました。


SystemUI.apk eslayout
status_bar_expanded.xml、system_bar_notification_panel.xmlの
android:background="@drawable/notification_panel_bg"
をandroid:background="#00000000"
に変えると通知領域の背景部分を透過できます。
(完全に透明にするにはnotification_panel_bg.9.pngを透過させる?)

各通知の背景
status_bar_notification_row.xml
android:background="@*android:drawable/notification_bg"
をandroid:background="#00000000"

通知の日付・時計背景
status_bar_expanded_header.xml
android:background="@drawable/notification_header_bg"
をandroid:background="#00000000"

トグル背景
status_bar_expanded_header.xml
android:background="@drawable/statusbar_tools_button_frame_top"
android:background="@drawable/statusbar_tools_button_frame_bottom"
をandroid:background="#00000000"
→このままだと電波アイコン、日付などとかぶる
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" の後に
<View android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="25.0dip" />
を追加

下のつまみ
drawable-xxhdpiの
status_bar_close_off.9.png
status_bar_close_on.9.png
を透過させる

上記のトグル背景以外を透過させたSystemUI.apkはここからダウンロードできます。
トグル背景も透過させました。ここからダウンロードできます。
※.333用です。

ついでに音量バーの背景透過
framework-res.apk eslayout olume_adjust.xml
android:background="@drawable/dialog_full_holo_dark"
をandroid:background="#00000000"

Copyright ©  -- Legacy AndroPlus --  All Rights Reserved
PR
忍者ブログ / [PR]