Vào đề luôn nào anh em moder : Chỉ cần làm việc với file LGSystemUI.apk thôi nhé. Nhớ if thư viện framework-res và lge-res . 1. Bung file LGSystemUI.apk ra tìm file status_bar.xml mở lên bằng notepad++ 2. Thêm đoạn code này Mã: <com.cadicvn.HarlemShake android:layout_width="0.0dip" android:layout_height="0.0dip" /> vào ngay dưới đoạn này : Mã: <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:tag="NO_R2L" 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="fitCenter" /> <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="fitCenter" /> </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:tag="NO_R2L" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" /> <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:tag="NO_R2L" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" /> </com.android.systemui.statusbar.phone.TickerView> </LinearLayout> 3. Tải thư viện smali này quăng vào ngay đường dẫn LGSystemUI/Smali/com Download : https://www.mediafire.com/?9zps58xpkwqtbxd 4. Recompile lại LGSystemUI đưa lại vào phone . lắc cái coi có gì lạ ko nào :bz ps: cám ơn cacdic vì đã dành thời gian code smali cho anh em )
Lắc rơi điện thoại ,thế là Clear Ram Nói chung là không nhậy lắm Bác @patonline85 ạ Bác xem có cách nào viết code cho nó nhậy hơn không
Vâng em cả sóc cả lắc, mỏi cả tay cũng chẳng thấy gì. Được 1 ,2 lần lúc đầu vừa copy file systemui vào máy thì được, từ đó trở đi là tịt luôn bác ạ. Máy em Samsung 4.1.2
Phải thêm được chức năng này vô UI Đang tìm cách a ạ @dokyson <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />