i am developing an hybrid app that binds with HTML and android(XML)...I
need to call an XML layout from an html button on click function....i have
tried several examples but nothing seems to work...is there any other
possible way??? thanks in advance...
My XML Layout..!!!
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<WebView android:id="@+id/web_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Order Details"
android:textStyle="bold"
android:textSize="18dip"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="10dip"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/start_transaction"
android:text="@string/start_transaction"
android:onClick="onStartTransaction"
android:layout_gravity="center"
android:textStyle="bold"
android:textSize="16dip"
android:layout_marginTop="10dip"/>
</LinearLayout>
</ScrollView>
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/2d9f6353-3827-41fc-a84d-c759c7233490%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.