※リストが表示されない場合
AddBlockなどの広告ブロックツールがONになっているとリストなどが表示されない場合があります。これらのツールをOFFにしてみてください。
※sample.xmlのソースコード <?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:layout_height="fill_parent" android:layout_width="fill_parent" android:text="@+id/text1" android:textSize="12pt" android:id="@+id/text1" /> </LinearLayout> ※AndroidManifest.xmlのソースコード <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="jp.tuyano" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".SampleApp" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="SampleActivity" android:label="@string/act_name"> </activity> </application> <uses-sdk android:minSdkVersion="4" /> </manifest> ※strings.xmlのソースコード <?xml version="1.0" encoding="utf-8"?> <resources> <string name="hello">This is Intent Test.</string> <string name="app_name">AndroidApp</string> <string name="btn_label">Click</string> <string name="act_name">SampleActivity</string> </resources>
<< 前へ | 次へ >> |