Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'

前端 未结 5 1556
谎友^
谎友^ 2020-12-06 02:30

I have a problem:

Java Code

public class VisualizzaListaActivity extends TabActivity {
/** Called when the activity is first created         


        
5条回答
  •  没有蜡笔的小新
    2020-12-06 03:21

    I had the same problem. Actually I extended TabActivity for DaAcquistareActivity class. This was the reason. I solved the problem by extending DaAcquistareActivity with Activity and not with TabActivity.

提交回复
热议问题