jianzhongli / MathView

A library for displaying math formula in Android apps.
Apache License 2.0
1.01k stars 188 forks source link

autoEngine error #20

Closed NaveenJayaram1994 closed 7 years ago

NaveenJayaram1994 commented 8 years ago

auto:engine="Mathjax" NameSpace auto is not bound

jianzhongli commented 8 years ago

try add xmlns:auto="http://schemas.android.com/apk/res-auto" to the root view in your layout xml file. For example:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:auto="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin"
    tools:context=".MainActivity"
    android:orientation="vertical">
</LinearLayout>
NicacioAraujo commented 4 years ago

@jianzhongli it works to me, Thankyou!