私はAndroidの初心者です。私はExpandableListActivityの例でTabActivityを見つけました。 私は3つのタブ、Artics、Album、Songsを持っています。アルバムでは、AlbumActivityで にすべてのアルバムを掲載したいと思います。プログラムを実行すると、アルバムをクリックするとエラーが発生して になります。私が間違っていた場所?ExpandableListActivityによるAndroidのタブアビリティ
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView android:id="@+id/android:empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/no_album"/>
</LinearLayout>
album_list.xml
AlbumActivity.java
public class AlbumsActivity extends ExpandableListActivity { ... ...onCreate... setContentView(R.layout.album_list); registerForContextMenu(getExpandableListView());
logcatの例外は何ですか? – techiServices