Android :: Explain Question Mark "?" In XML Attributes For Phone?
Apr 28, 2010Can anyone explain the question mark means in Android XML attributes?
<TextView style="?android:attr/windowTitleStyle" More attributes/>
Can anyone explain the question mark means in Android XML attributes?
<TextView style="?android:attr/windowTitleStyle" More attributes/>
I want to create an application that can change one's voice during a call in real time is there a way to do that in android? can you point me to the right package?
View 2 Replies View RelatedI am developping an android app which downloads an xml and displays a layout with a number of edittexts, checkboxes, spinners, etc. added dynamically like this:
LinearLayout ll = new LinearLayout(this);
EditText nameField = new EditText(this);
ll.addView(nameField);
ScrollView sv = new ScrollView(this);
sv.addView(ll);
setContentView(sv);
I'm having trouble with setting some properties to an EditText added this way. For examle android:maxLength attribute can easily be set in an xml layout but I found no method to do the same in the java code. How can I do it when hawing to add dynamically?
I am trying to connect my Acer Liquid with ADB and DDMS under Ubuntu 10.04. I read some posts and already add the VID (0502) and PID(3202) in /etc/udev/rules.d/51-android.rules, but adb devices still list my phone's name as question mark. When I try DDMS, I got the following error: E/DDMS: device (????????????) request rejected: device not found. Is there something I missed?
View 10 Replies View RelatedI have been looking it up and I just cant seem to wrap myself around the onCreate and Bundles. I understand that the onCreate is called when the program starts but its how the Bundles get passed around and how they are pertinent. Can anyone try to put this into plain english because I cant seem to find it well described.
View 1 Replies View RelatedI would like to know if someone can explain what exactly "google voice" is, and how it works.I have t-mobile unlimited calling plan, so minutes don't really matter to me.I am just not sure what google voice is or does.
View 29 Replies View RelatedCan someone please explain Adobe AIR and how it affects android.. All i see is that it is like a flash or something, but not popular.
View 7 Replies View RelatedHowever, the documentation doesn't explain any of the parameters. All of them are pretty obvious except for boolean filter. Does anyone know what it does?
View 3 Replies View RelatedI did not understand the notepad sample in android.when i import this to my workspace it shows there are no projects.Its having sqlite code i want to see how this application running,Please explain it once.
View 1 Replies View RelatedI called canvas.drawBitmap to draw an image, but somehow it's showing up behind/underneath the custom view (or it's background). can someone explain this?
View 1 Replies View RelatedI've been running defrost ROM, but wanted to try opendesire for the 720 video. But whenever I try to flash a new ROM using ROM manager, the phone re-boots as normal, but I get a n icon of the phone with a red question mark above it... The phone then just re-boots as normal without flashing anything?
View 1 Replies View RelatedOk I'm asking this in regards to my battery life. There is a 3G icon at the top. Next to it has an up and down arrow. Next to that is the bars. I'm new to all this because I've never had a smartphone so no flaming, lol.
Sometimes the 3G icon will go from lit up to dark. Does that mean it is connected, gets disconnected and tries to find a signal again? And sometimes one the arrows are lit up and the other isn't, sometimes they both are lit and sometimes neither. Is this something to do with data being downloaded and uploaded by the phone through the network?
Thanks.
Well I saw the thread in here about tethering and trying to fix the speed problem. I did not want to high jack his thread with my question so I made my own thread. Can someone please explain tethering to me?
View 49 Replies View RelatedHow to do it? Can't use the phone funny message on screen "triangle with an exclamation mark inside and a mob phone in front" any one knows what to do?
View 8 Replies View RelatedAfter I use SEUS to update my phone after I pass the Sony Ericsson I get an X10 picture with a yellow at exclamation mark, it doesnt do anything, what can I do, I tried running SEUS and PCCompanion but it says I have the latest software and it does NOT give me the option to fix the current.
View 21 Replies View RelatedYesterday, according to the internal memory widget, I had used up 143mb of my allotted 159mb. Needing more space, I uninstalled two apps, (Paper Toss and PDF Viewer) that were about 3MB each. I also cleared my dalvik cache. My phone was then down to 136MB used. Today, my phone is back up to 143MB used. I haven't installed any apps since yesterday. What happened to those 6MB that I freed up?? (Rooted and running Fresh 2.0d and I am not using apps2sd)
View 12 Replies View RelatedI know everything is just starting to come together but is there a guide available that explains the rooting process? Even if it isn't specific to the X I would like to learn more about what I'm doing before I start following any step-by-step procedures.
View 1 Replies View RelatedIn my application, I don't want the activity to restart when user changes his mobile's orientation or when he opens his physical keyboard.So, I have to assign the following XML attribute to all my activities in the manifest file.Is it possible to assign the same XML attribute value to all activities ? Or should I copy the attribute in all the <activity> tags of the manifest?
View 3 Replies View RelatedI met a problem in setting xml attribute at run time.
For example I define a xml layout like this:
CODE:.......................
I want to set android:drawableLeft="@drawable/icon" at runtime.But thers has no setter method for this attribute.
I use custom xml attributes for preferences. The preferences are inflated from xml.I managed to create and read custom xml attributes for EditTextPreference, ListPreference and CheckBoxPreference by creating custom classes which inherit from the respective preference class.My problem is that I can't do this for the PreferenceScreen class, as it is a final class. So my question is: Is there any way I can read the custom attributes of a PreferenceScreen?
View 1 Replies View Relatedcan i affect the look of the dropshadow that the scroll view shows when there's "more" available via scrolling? i'm not seeing anything in the scrollview docs.
View 4 Replies View RelatedCan u tel me what are the attributes we want to specify in the <scrollview> xml file.... bcoz i want to display scrollbar n my layout...i tried scrollview but it shows an error like force to close....
View 2 Replies View RelatedIs it possible to define an attribute value of a height attribute, for example, relative to its parent's height. For instance, I want the linear_layout's height to be 2/3 of its FrameLayout parent. I have a FrameLayout with two linear_layouts. The first linear_layout fills the entire FrameLayout and the second linear_layout overlaps the first but only 2 / 3 of its height.
View 3 Replies View RelatedI have downloaded a media file. (say mp3 file). I need to get the attributes of the file, like ARTIST, TITLE etc.
View 4 Replies View RelatedI am desperately trying to set TextView attributes of cells within a table programmatically but can't get this to work! Whenever I set layout properties, the field will simply not appear (but not give any error or exception). I boilded this down to this simple example:
CODE:.......
This will show three fields, but when you uncomment the five commented line, then NOTHING will appear. Why is that so? Why does setting layout parameters cause my TextView's to not appear? I'm stuck! What am I missing?
Here's the manifest, if some kind soul quickly wants to try this out:
CODE:.....................
I have a simple horizontal linear_layout with bunch of image views in it. the trick is that the views have different widths, relative to the size of their parent (the linear layout). I set the layout's weightSum to a 100 and the layout_weight to let's say 10 of one view and 15 of the other, on so on. And it did not work. I also tired using float values setting the weightSum to 1.0 and the layout_weight of the image views to 0.2 and 0.3 and so on. But it didn't work either. I did search this group for any references to the weightSum but found nothing. Any ideas how to handle it?
View 5 Replies View RelatedI was wondering if anyone could give me hints on this one (i am re-posting an older version of a question i once had): i created a new attrs.xml that adds some functionality to the soft keyboard sample code.. code...
View 2 Replies View RelatedI'm introducing multiple custom widgets for my application, extending View. These widgets (LineGraph and DotMatrix) include various attributes that can be set via the layout-xml. How can I have multiple widgets using attributes with the same name. For instance, 2 attributes both having color as an attribute that can be set via the layout XML?
main.xml snippet:
CODE:......
When I want to add the info for my LineGraph in attrs.xml, Eclipse starts to whine: "ERROR Attribute "color" has already been defined" XML:
CODE:.......
Is it not possible to have a DotMatix resource with a color attribute, and a LineGraph resource with a color attribute?
Steps necessary to add a couple simple attributes to the stock Android Contacts application. Also, in the event the vendor has shipped their own Contacts application, will the same solution apply equally well to those handsets shipped with custom apps? I'm not looking for anyone to supply code; just a design pattern and any caveats I need to be aware of. I am writing an application that requires a couple new properties on the contact.
View 2 Replies View RelatedI want to center the application title/label in my android app but I can't find a lot of documentation on how to set that property. I have found a couple of posts saying that I can create a custom title bar and change the theme in my manifest but I just can help think there is a simpler way to just center the title.