小编man*_*war的帖子

该项目引用RTL属性,但未明确启用或禁用RTL支持

在Eclipse清单文件中,我收到一条警告消息.申请语言为土耳其语(不是从左到右).

"该项目引用了RTL属性,但未明确启用或禁用对清单中的android:supportsRtl的RTL支持"

我无法添加android:supportsRtl行,因为我的min sdk versionn是9.这个警告很重要吗?

谢谢

eclipse android warnings right-to-left

20
推荐指数
1
解决办法
1万
查看次数

来自HTML粗体标记的Textview无法正确显示

我正在使用fromHtml输入一些单词,但显示不正确。对不起我的英语不好。

        Typeface tfArial = Typeface.createFromAsset(getAssets(), "arialtur.otf");

    String yazi="Deneme "+"<strong>"+"must be bold"+"</strong>"+" kay?t.";
    Spanned text1 = Html.fromHtml(yazi);
    TextView aa= (TextView) findViewById(R.id.metin1);
    TextView ab= (TextView) findViewById(R.id.metin2);

    aa.setText(text1);
    aa.setTypeface(tfArial);        
    ab.setText("Non arial font");
Run Code Online (Sandbox Code Playgroud)

屏幕截图http://hizliresim.com/rd4gkV

html android textview

2
推荐指数
2
解决办法
4756
查看次数

标签 统计

android ×2

eclipse ×1

html ×1

right-to-left ×1

textview ×1

warnings ×1