Android :: Applying Theme To App Widget
Oct 23, 2010
i'm trying to define a theme for an appwidget, and have it applied at the application level. i have a theme like, <style name="theme.dark"> <item name="android"background">#000000</item> </style> in my manifest, i set android:theme="@style/theme.dark". however, when i run the appwidget, it does not pick up the items from the style. i tried setting style="@style/theme.dark" on an individual element in my view layout, and that does work ... but that's not what i want. i don't want to call out a specific style="..." for each element in my view. this page...................
View 3 Replies
Apr 11, 2010
I have a problem in the Preferences Activity, in the main preferences the theme shows ok, but if I get to a sub preference, the theme gets messy, it is not white as it should, it is all dark, and the font is black so you can't see much, and when I start clicking on any items they will get sometimes white as they should but revert to black soon after. This is only happens on 2.1, in both the real device and emulator. Tested on the emulator running 1.6 and it was working correctly.
View 2 Replies
View Related
Mar 7, 2010
I want to apply theme over setting application wide. So I implemented below code but there was no effect.
1. AndroidMenifest.xml
<application android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings" android:theme="@android:style/Widget.ListView" android:taskAffinity=""> -> added Widget.ListView style provided in android system and I changed style.xml file like below
2. FrameWork/base/core/res/res/values/styles.xml
before change : <item name="android:listSelector">@android:drawable/ list_selector_background</item>
After change: <style name="Widget.ListView" parent="Widget.AbsListView"> <item.................................
View 2 Replies
View Related
Apr 28, 2014
As the topic......How to apply a GO Launcher theme
View 1 Replies
View Related
Nov 19, 2010
I am using HTC Wildfire for one month. I have not rooted my phone. I would like to install new theme in my mobile. I have downloaded many theme packs(Icon pack). I am not able to install all at once.I installed launcher pro in my set. How can I install theme all together which means not changing the icon one by one?
View 1 Replies
View Related
Jul 9, 2010
I'm not understanding this whole weather app & widget thing...I'd like to have a nice looking widget on my desktop that flows with my theme. Not the one that the weather channel app has.
View 5 Replies
View Related
Oct 8, 2010
1. The stock EVO theme has a verticle widget for your favorite contacts along with 4G toggle, Bluetooth toggle, WiFi toggle, and GPS toggle on screen 3. I have removed the favorties widget and can't seem to find it in the list of widgets. Is there an easy way to get it back without going back to the stock theme, and modifying it again?
2. My HTC Weather widget on the home screen doesn't seem to update well. As late as 8:50am today, I sync / refreshed the weather, and I am still showing the moon and not the sun. Same thing happened yesterday... except an 8:20 refresh brought in the sun. The Weather Channel app is much better about adjusting to morning/night...and they always seem to display different temps from the HTC weather. I thought errybody got their numbers from the same source.
View 4 Replies
View Related
Feb 17, 2010
Looking for a good photo widget theme...anyone know if there is one out there
Sent from my Droid using Tapatalk
View 2 Replies
View Related
Sep 10, 2010
I'm trying to create a basic AlertDialog using an activity with a theme of Theme.Dialog.What I want is for there to be a horizontal bar between the title and the message. However, the bar is not being resized correctly. Rather than being the width of the activity, the bar is the width of the message text. This means that if the activity is being expanded by the message, then the bar will fill the whole activity, so it looks correct. However, if the message width is less than the activity width, the bar only displays above the part of the activity with the text. I've tried every single combination of "fill_parent" and "wrap_content" that I can think of, and none of those work.I've also tried using RelativeLayout and placing the bar above the message text, but that also doesn't work. If I use the RelativeLayout approach and set the bar to fill_parent, it causes the activity to expand to fill the whole screen width, which is also undesirable. Ideally, I want the text placed, the activity width computed, and the bar resized to that width (without affecting it). Is there some way to flag a view to fill the parent view but not to affect its size?
View 1 Replies
View Related
Jul 15, 2009
I use themes in my apps, which generally just extend android:Theme and then set a bunch of styles. I use dialogs made from layouts, but since I set the theme for the application, they have inherited all of the regular styles and no longer carry a border, etc. My question is: How do I say, "I want everything to use this theme which extends Theme, except dialogs, which should use this other theme that extends Theme.Dialog"? It seems like that's how things work by default but when you set the theme to your own, you lose the dialog theme!
View 3 Replies
View Related
Mar 6, 2009
I've extended Theme.Dialog to use a different color as per the sample in the ApiDemos project but for some reason it does not use the theme properly in my project. I created a new project and it works perfectly fine there. The main problem here is that it does not show as floating in my project. Instead, it sets the rest of the screen black except for what would be the dialog window, where it uses the correct colors, etc. Any ideas? I am beating my head against the wall here.
View 2 Replies
View Related
Jan 10, 2010
I am trying to apply common style to different textview that can be either defined in a layout xml file or programmatically and that does not seem to work for some attributes: My style in styles.xml is:
<style name="ListName"> <item name="android:colorForeground">#f0f</item> <item name="android:padding">4sp</item> <item name="android:textSize">30sp</item> <item name="android:textColor">#CCC</item> <item name="android:gravity">left</item> <item name="android:typeface">serif</item> <item name="android:textStyle">bold</item> <item name="android:colorBackground">#999</item> </style>
In my layout xml i have <TextView style="@style/ListName" ...></ TextView> and in my activity java class i have: TextView nametv = new TextView(this,null,R.style.ListName); However some parameters does not seem to work very well: - textStyle to bolditalic does not seems to be recognized - textColor/colorForeground/colorBackground does not work at all. I have been through the documentation, but could not find precise reference documentation for that attributes, nor sample for the color setting.
View 3 Replies
View Related
Apr 8, 2010
i am creating a picasa web album client for my major project. i've almost finished with the coding.its just that i find my UI very dull.its very boring. looks like a command line User Interface. obviously i want to change that and want a good attractive gui for my project. can anybody tell me how to create a good GUI which is eye catching and attractive? please give me the code because it is very difficult to interpret the custom theme option at android.com can't comprehend how to use it. it'll be better if anyone can post a tutorial. there are some questions that i want to ask. can i use flash? is there anyway to use css templates for this purpose? i dun want my gui to be black and white and dull
View 4 Replies
View Related
Dec 11, 2009
One approach I've looked at is to use the preview callback, asking for a JPEG buffer. Unfortunately, the HTC phones I've tried this on all call back at several second intervals and give me an NV12 buffer regardless of the pixel format you specify. (Anyone know the behaviour on a droid?) I can code my way around the NV12 hassle but I can't exactly do much when the callbacks are so seldom; I want around 10 fps.
The approach I was considering was making an opencore codec for mjpeg. Which leads me to two questions before I start:
1) can third-parties make and install opencore codecs, or is this strictly locked down? Is it to just drop an .so in the right folder, or?
2) do the HTC phones use the default encoders? (i.e. will using the same way the default opencore reference codecs get their pixel buffers work on the phone?)
View 2 Replies
View Related
May 29, 2010
Is their any way to apply a style resource to customize the Item Border in the Gallery Class with Android?
I'm trying to hide or change the color of the default Grey border but by the looks of things this isn't possible?
View 1 Replies
View Related
Feb 17, 2012
I'm working on a puzzle game for Android 2.2, what I want to do is a simple fade-in fade-out of the whole game screen, during level changing. I tried with an AlphaAnimation from 1.0f to 0.0f and vice-versa, and it works perfectly if I start it from a View, but if I try to start it from the SurfaceView which I used to write my game engine nothing happens.
I put a completely black ImageView on top of my surfaceview, and applied the animation to this imageView. This is my layout
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="<not allowed to post external links...>"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
[Code] ......
View 1 Replies
View Related
Jan 4, 2010
So I am pretty computer savvy but just getting into the phone scene. Wondering what site is best for the hacker side talk of phones?
Androidcommunity vs Androidforums vs XDA dev forums?
Which is better for instructions on rootings and applying custom ROMs?
Which is better for finding ROMs?
Which has more users?
Which has more experts?
Anyone familiar with the other site or one I may not know about can fill me in a bit? I seem to like this site the most but if there is more information elsewhere, I may need to pool my resources. I would prefer for android forums to be my 1 stop shop n go.
View 4 Replies
View Related
Mar 22, 2010
I am trying to find solution where I can apply round corners to an image. 1) I have tried to set android:background and in drawable.
View 3 Replies
View Related
Feb 7, 2009
I'm trying to make an image darker, but the image has some pixels transparent. I want to keep those pixels intact. I tried DARKEN and couple other filters, but they seem to alter transparent pixels as well.
Do you know if there is a way to keep transparent pixels intact while applying a color filter?
View 6 Replies
View Related
Aug 20, 2010
Do I need to wipe everything? DO I apply from recovery just like a ROM.
View 3 Replies
View Related
Sep 13, 2010
Is there a performance impact, especially with regard to battery performance, if we switch from the default black theme of android to white or another colour?
View 2 Replies
View Related
Jun 7, 2010
Got my Skinomi Techskin today, wondering what would be best to clean my screen with before applying?
View 21 Replies
View Related
Jul 23, 2010
waiting for TMobile to reissue their OTA update to 1.21.110.4 so wanted to install it myself. Am desperate to install it as have read in couple of places on XDA forums that it increases the media volume which is a big issue on my device (yes, yes I know some of you get blown away by yours but trust me I'm not deaf or stupid, it's just ridiculously quiet). Anyway I have managed to download a zip of the update but am confused as to what to do next.
View 10 Replies
View Related
Aug 23, 2010
I'm running Skyraider 2.5.2 Sense, rooted, unrevoked 3, unrevoked forever, titanium backup, gained S-OFF and am trying to flash the radio 2.15 so at least my camcorder will work.
I've tried:
-Hboot > recovery > install file from zip >PB31IMG
-Hboot > recovery > apply: update.zip
-rom manager > Install rom from SD card
-rename PB31IMG update.zip >Hboot >recovery > apply:update.zip
Not to mention a few other variations. Do I need to restore from backup, then flash my radio, and then apply the new ROM?
View 7 Replies
View Related
Jun 30, 2010
Is there any harm to applying the update on my evo phone? If so, what is the work around. Can i tell my phone to stop notifying me of update? Its getting annoying. Or is there an update for rooted phones.
View 1 Replies
View Related
Jan 27, 2013
I bought a theme off the market for GoSMS and GoContacts (the theme also has ones for GoLocker and GoLauncher as well which work fine). I have downloaded and installed the themes and gone through the steps to apply it but it does not show the theme. I had read that there is an issue with themes running Jelly Bean and typically if you can get the dev to email you the apk it will work. I have tried contacting the dev multiple times with no response. Any other way to get these items to work correctly? I know there are other options than the ones I selected but I really liked the look of this theme and am kind of picky. The items are linked below:
[URL]
View 1 Replies
View Related
Sep 9, 2010
I was wondering if there is an easy way to change the boot animation on my EVO as well as the splash screen. I do realize there is a long way to do it without root, but I am operating from a Mac. If there were some rooted apps that do this, please point me to them.
View 5 Replies
View Related
Nov 15, 2010
My phone is currently rooted and it was done using unrEVOked. I did not apply any custom ROMS; the only change I made was moving the Amazon and VZ Navigator apps. I selected the option to reboot and install the update when I was prompted to do so, but it just became stuck at a screen that said "Rebooting..." and it never changed. I powered it off and then back on, but the update never applied. I have not been prompted to install the update since then. I would like to apply the November update using the easiest method. If I have to unroot it, I don't care because root access isn't that important to me. I have read these instructions, but they're incomplete as they don't show you how to actually perform the steps listed, specifically step #1
View 7 Replies
View Related
Aug 6, 2010
I have applied my photos to my contacts. My only issue is the image size. I need a full or half screen image, rather then the thumbnail (1x1). Can this be fixed as is, or do I need an app for that?
View 2 Replies
View Related
Aug 20, 2010
Ok I'm new to this rooting thing so bear with me. I want to root my vibrant but I have some questions. Does the one click root work? And how does it work? Also what does the lag fix do? And do I need a computer to use it? Will rooting and applying lag fix not allow me to get froyo? Again I'm sorry if these questions have been asked.
View 3 Replies
View Related