On Mar 11, 2012, at 8:27 PM, Eudes wrote:
> I’ve a problem to get Gesture on the menu I generated (It’s on a Layout).
> I’ve not problem with gesture on my main activity, and i’ve no idea to have
> it on my menu when I scroll it.
I don't understand what your problem is. Is an exception generated? A
behavioral problem?
> private void InitLayoutHome()
> {
> context=this;
> /*
> Here no problem with gesture….. Click, down,
> up, right, left etc…. no problem
> */
> [.........]
> /*
> Here I print a Button to print my menu if user
> click on the button
> */
> button.Click+=delegate{Task.Factory.StartNew(() =>
>
> {
>
> //and launch with a new thread
> because I generated it…
>
> RunOnUiThread(() =>
> {Categories.Print();}
>
> );});};
The above makes little sense: why create a new thread which immediately posts
back to the UI thread? Is there some additional work the Task is performing
before Categories.Print() is invoked?
> /*
> And here i generate my menu
>
> <!—my Xml -->
> <TableLayout
> android:id="@+id/tldialogcategories" >
> <TableRow>
> <TextView
> android:id="@+id/tvtitrecategories">
>
> Title of menu
> </TextView>
> </TableRow>
>
> <ScrollView>
>
> <TableLayout android:id="@+id/tlcategories">
>
> <!-- GENERATE MENU HERE IN CSHARP -->
I don't understand this: how are you generating the XML in C#? Is this at
runtime or compile time?
It might help if you filed a bug and attached your project.
Thanks,
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid