urces.html
"checkableBehavior - Whether the items are checkable. Valid values:
none, all (exclusive / radio buttons), single (non-exclusive /
checkboxes)"
This should actually be the other way round:
* all (non-exclusive / checkboxes)
* single (exclusive / r
All I had to do was add android:clickable="true" to the button XML
definition. This allowed the button to have its own clicks, and
maintain the listitem click as it was.
On Jul 18, 6:29 pm, BoD wrote:
> Hi!
> I'm sure this is a classic question, but I couldn't find the answer
> anywhere.
>
> I'
You're right it does sound terribly complex. Ill report back on my
findings for anyone else who has a similar problem.
Thanks for your input, Mark.
On Jun 10, 1:09 pm, Mark Murphy wrote:
> mafro wrote:
> > I'm thinking I might need to write a service to handle my shortcu
I'm thinking I might need to write a service to handle my shortcut's
Intent. The main application could then raise a similar Intent to the
service to provide the same functionality whilst in the application.
Comments anyone?
On Jun 9, 11:34 am, mafro wrote:
> Hey list,
>
>
a Toast notification.
This must be possible - I just can't work out how.. Once I'm handling
the shortcut Intent in onCreate() the UI has initialised and I get a
little screen flicker if I then run my code and finish().
Thanks for any input!
mafro
--~--~-~--~~~
Thanks Romain, no idea how I failed to find this when searching for
"scroll", "tab host" and "view".
On Mar 27, 4:17 pm, Romain Guy wrote:
> You need to use a ScrollView inside your tab.
>
>
>
> On Fri, Mar 27, 2009 at 8:47 AM, mafro wrot
s? Or indeed how to fix it?
The resource xml follows.
Thanks!
mafro
http://schemas.android.com/apk/res/android";
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
andr
doesn't accept XML as a String input - it
accepts a path to a file. This is what causes your exception.
Where does your XML come from originally? The SAX parser is designed
to parse directly from a Stream, so wherever your XML is first loaded,
parse it there.
mafro
petunio wrote:
> Hi e
tAdapter(sa);
Here the ArrayList> is supplied as our data
source, R.layout.meal_item is given as our UI list item and the final
two params are the binding key/value pairs.
I hope this is clear enough! Looks like the external XML resource
thing is there to give you the flexibility to achieve p
, android.R.layout.simple_spinner_item);
adapter.setDropDownViewResource
(android.R.layout.simple_spinner_dropdown_item);
s1.setAdapter(adapter);
On Mar 9, 4:31 pm, mafro wrote:
> Taking an example from the Dev Guide - you can do it like this:
>
> http://d.android.com/guide/samples/Api
Taking an example from the Dev Guide - you can do it like this:
http://d.android.com/guide/samples/ApiDemos/res/values/arrays.html
In res/values/arrays.xml:
red
orange
yellow
green
blue
violet
//java code
Resources res = this.getR
11 matches
Mail list logo