小编Coe*_*nni的帖子

Android中的任何TTS api土耳其语?

在土耳其语中是否有针对Android的免费TTS(文本到语音)服务?我在google中找不到任何有用的东西.

api turkish android text-to-speech

4
推荐指数
1
解决办法
3428
查看次数

如何以编程方式/动态更改TabHost的标签

我有一个tabhost创建

  this.tabHost = getTabHost();

     // Resusable TabSpec for each tab
    Intent intent;  // Reusable Intent for each tab

    // Create an Intent to launch the first Activity for the tab (to be reused)
    intent = new Intent().setClass(this, FirstGroup.class);

    // Initialize a TabSpec for the first tab and add it to the TabHost
    spec1 = tabHost.newTabSpec("FirstGroup").setIndicator("Regionlar",
            getResources().getDrawable(R.drawable.region2)) // Replace null with R.drawable.your_icon to set tab icon
                    .setContent(intent);
    tabHost.addTab(spec1);
Run Code Online (Sandbox Code Playgroud)

我想以编程方式更改tabhost的标签:"Regionlar"到"newMenuTabbar".我找不到任何例子.谢谢你的关注.

编辑:我想从"Mənzərələr"=>"secondTabitem"改变第二个tabitem的标签

intent = new Intent().setClass(this,FirstGroup.class);

    // Initialize a TabSpec for the first …
Run Code Online (Sandbox Code Playgroud)

android android-tabhost

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

标签 统计

android ×2

android-tabhost ×1

api ×1

text-to-speech ×1

turkish ×1