Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I solve jukto(connected) words in Bangla font in Android?
    text
    copied!<p>Here is my code for <a href="http://en.wiktionary.org/wiki/Bangla" rel="nofollow">Bangla</a> in Android:</p> <pre><code>package com.exam; import android.app.Activity; import android.graphics.Typeface; import android.os.Bundle; import android.widget.TextView; public class TextDifferentActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/DroidSansFallback.ttf"); TextView tv = (TextView) findViewById(R.id.CustomFontText); tv.setTypeface(tf); } } </code></pre> <h3>XML code</h3> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;TextView android:id="@+id/DefaultFontText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:textSize="30sp" android:text="Here is some text." /&gt; &lt;TextView android:id="@+id/CustomFontText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="30sp" android:text="আল্লাহ"&gt; &lt;/TextView&gt; &lt;/LinearLayout&gt; </code></pre> <p>Here it shows আ্ললাহ।, but I need to show it as আল্লাহ. How can I solve the problem? In my phone, <a href="http://en.wikipedia.org/wiki/HTC_Wildfire" rel="nofollow">HTC A3333</a>, it shows the fonts. Is there any other solution to make it correct?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload