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

前端 未结 5 1459
谎友^
谎友^ 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:14

    Only thing you need to change is android:id attribute in layout xml , It should be " android:id="@android:id/tabhost" "

提交回复
热议问题