jianzhongli / MathView

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

MathView didn't fit in screen size #17

Open ram-readwhere opened 8 years ago

ram-readwhere commented 8 years ago

Images, tables or graph rendered by MathView didn't fit in screen size. They are trimmed from right side. Can I show them fit into device width and may be option to zoom on single tap or something like that. My MathView xml is as

            <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:paddingLeft="8dp"
                    android:paddingRight="8dp">

                    <io.github.kexanie.library.MathView
                        android:id="@+id/tv_question"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        auto:engine="Katex" />
          </LinearLayout>

Screen shot

screenshot_2016-05-23-14-59-23

manassharma07 commented 7 years ago

Did you find a solution for this?

demonsantosh commented 5 years ago

Is there any sloution to fit Screen ?

JHM69 commented 4 years ago

Try to set horizontal scrolling