Ok so im setting up the icon_pack.xml like this...
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="icon_pack" translatable="false">
<item>android_tether_mainactivity</item>
</string-array>
</resources>
When I install the apk on my phone and try to change an icon through the "adw icon pack" option it loads my theme but it doesn't display any of the icons but just a black empty screen. Any ideas?
Bump...
Does anyone have any idea on this? Im using this template kaydensigh-ADW.Theme-Template-99cb675 and i took the icon_pack.xml from AnderWeb-ADW.Theme-Template-d8491c4 and also edited my androidmanifest.xml with the following lines...
<action android:name="org.adw.launcher.icons.ACTION_PICK_ICON" />
<category android:name="android.intent.category.DEFAULT" />
The when i select to pick an icon from the theme images i have included i just get a black screen.
Hallo.
Got same problem, i found that in main.java theres no " addIcons(resources, packageName, R.array.icon_pack);" string, but dunno how to add it coz when i add whole function, got many errors ;(
Regreads
Pandik
www.android.pandik.pl
Related
i have hayruko build 5.02h and i would like to know if theres any way to change the browser user agent to desktop just like using steel browser where it has the option to change it.
I would also like to know. Javascript isnt working for me on 5.0.2H and the web pages render as if I was a generic phone.
well, as of yet, it's sacrifce between having zoom or no zoom and have generic phone google.
G build will have the browser that doesn't zoom, unless you use the hardware keyboard (menu + i or o )
Hve you considered e-mailing the developer of steel and asking where the user agaent file is and how to change it? You never know.
Open brower, type "about:debug" as the url, enter, menu->settings, right near the bottom is the option for UA string. (This is for rc33 but it could work for cupcake)
thank you! it does work!
It does work, unfortunately it doesn't stay. So after reboot or restart of Browser, it will revert back to old string.
The following works and can be edited to whatever with any notepad :
http://forum.xda-developers.com/showpost.php?p=3661716&postcount=49
How to set to desktop?
So, following up on that last post, I tried to set my user agent to desktop mode permanently, buy pulling, editing and pushing com.android.browser_preferences.xml to /data/data/com.android.browser/shared_prefs/com.android.browser_preferences.xml
In the <string name="default_user_agent"> field I copied-and-pasted the user agent from my desktop installation of Google Chrome, which is:
Code:
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5
But, no love. I'm still getting shoved into the mobile phone ghetto (I tried evernote.com and time.com).
Any idea what to set it to to get desktop behavior by default?
My altered com.android.browser_preferences.xml is:
Code:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="normal_layout" value="false" />
<string name="Operator">20801</string>
<boolean name="enable_tracing" value="false" />
<boolean name="remember_passwords" value="true" />
<boolean name="autofit_pages" value="true" />
<boolean name="enable_nav_dump" value="false" />
<boolean name="fix_picasa" value="false" />
<string name="default_user_agent">Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5</string>
<string name="user_agent">2</string>
<boolean name="wide_viewport" value="true" />
<string name="text_size">SMALLER</string>
<boolean name="open_in_background" value="false" />
<boolean name="accept_cookies" value="true" />
<boolean name="enable_light_touch" value="true" />
<boolean name="enable_plugins" value="true" />
<boolean name="small_screen" value="false" />
<string name="default_text_encoding">Latin-1</string>
<boolean name="enable_javascript" value="true" />
<string name="homepage">http://www.google.com/m?client=ms-unknown</string>
<boolean name="save_formdata" value="true" />
<boolean name="load_images" value="true" />
<int name="errorflag" value="0" />
<string name="default_ua_profile">http://www.htcmms.com.tw/Android/Common/HTC_Magic/ua-profile.xml</string>
<boolean name="show_security_warnings" value="true" />
<boolean name="block_popup_windows" value="true" />
<boolean name="login_initialized" value="true" />
</map>
Hi, I am making some application with transparent background (image with alpha channel). All is ok but I would like to have active desktop under activity.
Transparent code xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Transparent" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
</resources>
How to do that? I want to make full screen image with active desktop and don't know how. If it's bad forum, please delete and do not ban me, this is my first post here.
Hello Everyone,
I'm working on a Custom Rom for my Phone and i wanted to add the DSP Manager to my System Settings and hide it in the appdrawer.
removing this part in AndroidManifest does not work:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
the DSP manager force closes, when im trying to start it through the system settings.
when i'm not trying to hide it, starting through Settings works flawlessly.
So, is there another way to hide it from the appdrawer?
( no, i dont want to use a custom Launcher, i wan't to hide it completely.)
thx, Chris
I'm looking to find a compiled file that would allow me use a 1% battery icon theme. I have been searching everywhere and found a file that contains:
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
etc... But when I use these two files, rather than the battery icon moving at 1% intervals, the battery icons completely disappeared. I was wondering if anyone could help me find the compiled files for 1% increments, unless this method is completely wrong.
Zarotu said:
I'm looking to find a compiled file that would allow me use a 1% battery icon theme. I have been searching everywhere and found a file that contains:
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
etc... But when I use these two files, rather than the battery icon moving at 1% intervals, the battery icons completely disappeared. I was wondering if anyone could help me find the compiled files for 1% increments, unless this method is completely wrong.
Click to expand...
Click to collapse
..did you add in the .PNG images for the new battery? Sounds like no.
Either that or the wrong folder you put the images, it's either drawable-hdpi or drawable-xhdpi I forget. Or you could have the new .PNG images named incorrectly. You essentially now need 202 battery icons, 0-100 for regular, and 0-100 for charging images
I do have 202 battery icons with .PNG extensions for each of them. They were working correctly, however they were running at very large intervals (91%, 71%, etc.). I am interested in 1% intervals, but the new .XML do not seem to be working correctly.
Zarotu said:
I do have 202 battery icons with .PNG extensions for each of them. They were working correctly, however they were running at very large intervals (91%, 71%, etc.). I am interested in 1% intervals, but the new .XML do not seem to be working correctly.
Click to expand...
Click to collapse
Upload the SystemUI.apk and I will take a look at it for you.
andybones said:
..did you add in the .PNG images for the new battery? Sounds like no.
Either that or the wrong folder you put the images, it's either drawable-hdpi or drawable-xhdpi I forget. Or you could have the new .PNG images named incorrectly. You essentially now need 202 battery icons, 0-100 for regular, and 0-100 for charging images
Click to expand...
Click to collapse
andybones said:
Upload the SystemUI.apk and I will take a look at it for you.
Click to expand...
Click to collapse
Hope you could find the problem. I really appreciate your help!
Hello,
I'm on stock 2.3.6 rooted. I started manually editing/modifying my galaxy fit. Now I want to edit the dockbar of stock 2.3.6. I really hate that semi-transparency of the dockbar of the main screen. So far I managed to edit the dockbar of the app drawer, but can't find the .png of the MAIN SCREEN DOCKBAR BACKGROUND. Also, I can't figure out(if i find it) how to make it 100% transparent.
Can someone help me out with this??Which .png(from Touchwiz30Launcher.apk/res/drawable-Idpi) is it?
Edit: Ok,so I found it, but i can't make it full transparent.If i edit the .png, I can only give it a full color
If i try to edit the coresponding XML file, I don't know what to put in there.
"TouchWiz30Launcher.apk\res\drawable\homescreen_menu_mainmenu_icon_bg.xml" : <?xml version="1.0" encoding="utf-8" ?>
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/menu_background_transparent" />
</layer-list>
Lawr3nce said:
Hello,
I'm on stock 2.3.6 rooted. I started manually editing/modifying my galaxy fit. Now I want to edit the dockbar of stock 2.3.6. I really hate that semi-transparency of the dockbar of the main screen. So far I managed to edit the dockbar of the app drawer, but can't find the .png of the MAIN SCREEN DOCKBAR BACKGROUND. Also, I can't figure out(if i find it) how to make it 100% transparent.
Can someone help me out with this??Which .png(from Touchwiz30Launcher.apk/res/drawable-Idpi) is it?
Edit: Ok,so I found it, but i can't make it full transparent.If i edit the .png, I can only give it a full color
If i try to edit the coresponding XML file, I don't know what to put in there.
"TouchWiz30Launcher.apk\res\drawable\homescreen_menu_mainmenu_icon_bg.xml" : <?xml version="1.0" encoding="utf-8" ?>
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/menu_background_transparent" />
</layer-list>
Click to expand...
Click to collapse
just replace @color/menu_background_transparent with @color/transparent
if you don't have a transparent color in your app go to /res/values/colors.xml and add this line:
<color name="transparent">#00000000</color>
ehsan-black said:
just replace @color/menu_background_transparent with @color/transparent
if you don't have a transparent color in your app go to /res/values/colors.xml and add this line:
<color name="transparent">#00000000</color>
Click to expand...
Click to collapse
Thanks a lot. I already made it transparent. I just went on a online photoeditor site and edited the image KEEPING its transparency, made full transparent and voilla!
The thing is that the windows editor wouldn't keep transparency of the png's(or I don't know how to do it).
Lawr3nce said:
Thanks a lot. I already made it transparent. I just went on a online photoeditor site and edited the image KEEPING its transparency, made full transparent and voilla!
The thing is that the windows editor wouldn't keep transparency of the png's(or I don't know how to do it).
Click to expand...
Click to collapse
change color mode to RGB and save it again.