社长大人wen 社长大人wen
Android爱好者
关注数: 33 粉丝数: 245 发帖数: 1,827 关注贴吧数: 358
【教程】下拉浮窗模式 [GUIDE] How to make a Floating Statusbar Like a Phablet/Tablet For Galaxy Y -------------------------------------------------------------------------------- Oke the first method is : 1. 下载 Floating.zip 2. Pull the Framework-res.apk and SystemUI.apk 3. Do "if framework" on your Apktool/ApkManager/ToolAlite by KuyaGaol 4. 反编译 SystemUI.apk 5. 解压 Floating.zip 并放入图片目录下。 6. 打开 status_bar.xml from /res/layout/here 找到这个代码, 修改并保存 : 代码: <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" 并添加这一句代码: 代码: android:background="@drawable/trans" 看起来像这样: 代码: <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#00000000" android:gravity="center" android:id="@id/date" android:background="@drawable/trans" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" /> 7. 打开 status_bar_expanded.xml from /res/layout/here 找到这个代码,修改并保存 : 代码: <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" 并添加这一句代码 : 代码: android:background="@drawable/bg" 看起来像这样 : Code: <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:background="@drawable/bg" android:focusable="true" android:descendantFocusability="afterDescendants" 8. 打开status_bar_tracking.xml from /res/layout/here 找到这个代码,修改并保存 : Code: <View android:background="@drawable/shade_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" /> 并改成这个样子: 代码: <View android:background="@drawable/shade_bg" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_weight="1.0" /> 找到这句 : Code: <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" /> 并改成这个样子 : 代码: <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/trans" android:scaleType="fitXY" /> 9.回编译UI并放入系统 一定要注意:bg.9.png必须是.9格式的!如果你不喜欢黑色,想要替换下拉悬浮窗的背景,一定先准备好一张.9图片,然后回编译!注意!一定要重新编译!不然它不会成悬浮窗的!
【教程】自定义电量百分比 [GUIDE]How to add EDT Tweak support on your SystemUI Hi guys This time I will make a tutorial on how to add "EDT" tweak support on your SystemUI Features of EDT Tweaks Quote: Battery Options Show/Hide Battery Icon (Doesn't work) Battery Text Style (Regular,Hide and Small %) Prepend/Append Battery Text Change Charging Color (For Battery Text) Change Regular Color (For Battery Text) Change Medium Level Color (For Battery Text) Change Low Level Color (For Battery Text) Quote: Clock Options Show AM/PM Small AM/PM Hide AM/PM Hide Clock Quote: Signal Options Show Signal Bars (Doesn't work) Show Signal Strength (Not available yet) Show dBm Text (Not released) Quote: Bug List Show/Hide Battery Icon Show Signal Bars Show Signal Strength Show dBm Text Quote: Requirements EDT Files (download in attachment) EDT Tweaks apk (download in attachment) SystemUI.apk Apktool or similar Quote: How to Install Download the EDT Files zip package on your Computer and extract it anywhere in your desktop Now on your phone, Pull your SystemUI.apk and paste it on your sd card Now connect your phone to your Computer and Connect USB Storage Copy the pulled SystemUI.apk and paste it on your apktool folder 反编译 SystemUI.apk 解压附件到相应位置 找到 res/layout/ and open status_bar.xml 复制这些代码 代码: <com.android.systemui.statusbar.BatteryText android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" /> 粘贴在下面这些代码的上面 Code: com.android.systemui.statusbar.Clock 如果没有就随便放,反正我是没有了,都被改没了。。。 回编译 SystemUI.apk 安装EDT.apk,打开使用! 本来想汉化,然后就没有然后了 有时间的可以汉化下。。
1 下一页