iphone はデータの無い時も線が出るらしい… ちっ(心の声)

って事で、一行だけで勘弁ね。

<include layout="@layout/list_divider" />
    <TextView
	    android:id="@+id/textView_not_found"
	    android:layout_width="wrap_content"
	    android:layout_height="wrap_content"
	    android:layout_margin="5dp"
	    android:text=""
	    android:textColor="#808080"
	    android:visibility="gone"
	    android:textSize="20sp" />
     <ListView
          android:id="@+id/listView"
          android:layout_width="match_parent"
          android:layout_height="match_parent" >
     </ListView>
<include layout="@layout/list_divider" />

データの有無で切替

hoge.setVisibility(View.VISIBLE);
hogo.setVisibility(View.GONE);

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha