Link tải Tải tại đây
+deccom Ui bạn za ok bây giờ cho toàn bộ file đính kèm vô đúng đường dẫn và
Recompile and decompile
+mở musicControl.smali sau đó thay id bên pulic.xml như sau (cố mà hiểu nha,cao nhân sẽ hiểu thôi)
<public type="id" name="volume_seek_bar" id="0x7f0e00f6" />
<public type="id" name="textMax" id="0x7f0e00f5" />
<public type="layout" name="fiqih_status_bar_music_controls" id="0x7f030031" />
<public type="id" name="musicControlPlay" id="0x7f0e00fb" />
<public type="id" name="musicControlPause" id="0x7f0e00fa" />
<public type="id" name="musicControlPrevious" id="0x7f0e00f9" />
<public type="id" name="musicControlNext" id="0x7f0e00fc" />
<public type="id" name="musicNowPlayingInfo" id="0x7f0e00f8" />
<public type="id" name="albumArt" id="0x7f0e00f4" />
<public type="drawable" name="default_artwork" id="0x7f020150" />
<public type="id" name="volume_seek_bar" id="0x7f0e00f6" />
<public type="id" name="textMax" id="0x7f0e00f5" />
((ví dụ: <public type="id" name="volume_seek_bar" id="0x7f0e00f6" />
thỳ bạn sẽ tìm id 0x7f0e00f6 ở smali và thay bằng id của volume_seek_bar. bên pulic.xml. ))
+mở phonestatusbar.smali
tìm đoạn sau
.field mMoreIcon:Landroid/view/View;
sau đó coppy đoạn dưới đây vô dưới đoạn vừa tìm đc
.field private mMusicControls:Lcom/fiqih/anaknya/mbol/MusicControls;
search .method private setPileLayers(I)V
letakkan ini diatasnya
.method private setMusicControlsLayout()V
.locals 2
.prologue
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedView:Lcom/android/systemui/statusbar/phone/ExpandedView;
const v1, 0x7f0c00f5
invoke-virtual {v0, v1}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/fiqih/anaknya/mbol/MusicControls;
iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mMusicControls:Lcom/fiqih/anaknya/mbol/MusicControls;
iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mMusicControls:Lcom/fiqih/anaknya/mbol/MusicControls;
invoke-virtual {v0}, Lcom/fiqih/anaknya/mbol/MusicControls;->setupControls()V
iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mMusicControls:Lcom/fiqih/anaknya/mbol/MusicControls;
invoke-virtual {v0}, Lcom/fiqih/anaknya/mbol/MusicControls;->updateControls()V
return-void
.end method
+ok bây giờ thay id 0x7f0c00f5 ở bên trên bằng id bên pulic.xml
<public type="id" name="exp_music_controls"
+bây giờ tìm đoạn sau
.method protected makeStatusBarView
và tìm kiếm
iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v3, v1, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
và gán đoạn sau ngay dưới nó
invoke-direct/range {p0 .. p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setMusicControlsLayout()V
+có thể các smali kô giống hãy tìm tương tự
+ok bây giờ gán code sau vào chỗ bạn muốn nó hiển thị
<com.fiqih.anaknya.mbol.MusicControls android:id="@id/exp_music_controls" android:paddingTop="9.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
+reccom và sig
+dùng mọi thủ đoạn để nhét vô hệ thống
+nguồn: mAAad thank to all. (indo)
+người xem và viết theo độ hiểu bít nông cạn: ĐOÀN ĐÌNH VĨ ( Vĩ Đoàn )
+deccom Ui bạn za ok bây giờ cho toàn bộ file đính kèm vô đúng đường dẫn và
Recompile and decompile
+mở musicControl.smali sau đó thay id bên pulic.xml như sau (cố mà hiểu nha,cao nhân sẽ hiểu thôi)
<public type="id" name="volume_seek_bar" id="0x7f0e00f6" />
<public type="id" name="textMax" id="0x7f0e00f5" />
<public type="layout" name="fiqih_status_bar_music_controls" id="0x7f030031" />
<public type="id" name="musicControlPlay" id="0x7f0e00fb" />
<public type="id" name="musicControlPause" id="0x7f0e00fa" />
<public type="id" name="musicControlPrevious" id="0x7f0e00f9" />
<public type="id" name="musicControlNext" id="0x7f0e00fc" />
<public type="id" name="musicNowPlayingInfo" id="0x7f0e00f8" />
<public type="id" name="albumArt" id="0x7f0e00f4" />
<public type="drawable" name="default_artwork" id="0x7f020150" />
<public type="id" name="volume_seek_bar" id="0x7f0e00f6" />
<public type="id" name="textMax" id="0x7f0e00f5" />
((ví dụ: <public type="id" name="volume_seek_bar" id="0x7f0e00f6" />
thỳ bạn sẽ tìm id 0x7f0e00f6 ở smali và thay bằng id của volume_seek_bar. bên pulic.xml. ))
+mở phonestatusbar.smali
tìm đoạn sau
.field mMoreIcon:Landroid/view/View;
sau đó coppy đoạn dưới đây vô dưới đoạn vừa tìm đc
.field private mMusicControls:Lcom/fiqih/anaknya/mbol/MusicControls;
search .method private setPileLayers(I)V
letakkan ini diatasnya
.method private setMusicControlsLayout()V
.locals 2
.prologue
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedView:Lcom/android/systemui/statusbar/phone/ExpandedView;
const v1, 0x7f0c00f5
invoke-virtual {v0, v1}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/fiqih/anaknya/mbol/MusicControls;
iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mMusicControls:Lcom/fiqih/anaknya/mbol/MusicControls;
iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mMusicControls:Lcom/fiqih/anaknya/mbol/MusicControls;
invoke-virtual {v0}, Lcom/fiqih/anaknya/mbol/MusicControls;->setupControls()V
iput-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mMusicControls:Lcom/fiqih/anaknya/mbol/MusicControls;
invoke-virtual {v0}, Lcom/fiqih/anaknya/mbol/MusicControls;->updateControls()V
return-void
.end method
+ok bây giờ thay id 0x7f0c00f5 ở bên trên bằng id bên pulic.xml
<public type="id" name="exp_music_controls"
+bây giờ tìm đoạn sau
.method protected makeStatusBarView
và tìm kiếm
iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v3, v1, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
và gán đoạn sau ngay dưới nó
invoke-direct/range {p0 .. p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setMusicControlsLayout()V
+có thể các smali kô giống hãy tìm tương tự
+ok bây giờ gán code sau vào chỗ bạn muốn nó hiển thị
<com.fiqih.anaknya.mbol.MusicControls android:id="@id/exp_music_controls" android:paddingTop="9.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
+reccom và sig
+dùng mọi thủ đoạn để nhét vô hệ thống
+nguồn: mAAad thank to all. (indo)
+người xem và viết theo độ hiểu bít nông cạn: ĐOÀN ĐÌNH VĨ ( Vĩ Đoàn )