1. 更换主题
略
2. 修改Wifi对话框里的背景
Settings/src/com/android/settings/wifi/WifiDialog.java
protected void onCreate(Bundle savedInstanceState) {
mView = getLayoutInflater().inflate(R.layout.wifi_dialog, null);
setView(mView);
- setInverseBackgroundForced(true);
+ //setInverseBackgroundForced(false);
mController = new WifiConfigController(this, mView, mAccessPoint, mEdit);
super.onCreate(savedInstanceState);
Settings/res/values/themes.xml
<resources>
- <style name="Theme.WifiDialog" parent="@*android:style/Theme.Holo.Dialog.Alert">
+ <style name="Theme.WifiDialog" parent="@*android:style/Theme.Holo.Light.Dialog.Alert">
3. 修改VPN设置时提示设置密码
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
<activity android:name="CredentialStorage"
- android:theme="@style/Transparent"
android:launchMode="singleTop"
4. 设置情景模式中字体颜色是黑色
MTK比较坑,默认是使用的是OP01Plugin.apk
所以必须删掉它,才使用Setting里的
--- a/res/layout/audio_profile_item.xml
+++ b/res/layout/audio_profile_item.xml
@@ -13,6 +13,7 @@
android:orientation="vertical"/>
<RadioButton
android:id="@+id/radiobutton"
+ android:textColor="@android:color/black"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
@@ -33,7 +34,8 @@
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium"
android:ellipsize="marquee"
- android:fadingEdge="horizontal" />
+ android:fadingEdge="horizontal"
+ android:textColor="@android:color/black" />
5. 系统使用情景模式源码位置
Z:\T621\mediatek\operator\OP01\packages\apps\Plugins
6. 系统使用定时开关机代码位置
Z:\T621\mediatek\packages\apps\SchedulePowerOnOff
7. 修改“添加账户”的图标
res/xml/settings_headers.xml
<header
android:id="@+id/account_add"
android:title="@string/add_account_label"
android:icon="@drawable/ic_settings_account_add">
<intent
android:action="android.settings.ADD_ACCOUNT_SETTINGS"/>
</header>
7. 修改“添加账户”的theme
AndroidManifest.xml
<activity android:name="com.android.settings.accounts.ChooseAccountActivity"
android:label="@string/header_add_an_account"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@android:style/Theme.Holo.Light.DialogWhenLarge"/>
8. 修改设置VPN时的弹出框
AndroidManifest.xml
<activity android:name="CredentialStorage"
android:theme="@style/Transparent" 删除这一项
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)