私は 1 つ持っており、リストに 1 つのオブジェクトをListView表示しました。ArrayList各リスト項目はTableLayout. TableLayoutを持っていTableRowます。TableRow3TextView秒あります。
私はグリッドのように見えるよう  に、 TextViews の境界線を表示したいと考えています。ListView
TextViewでs の境界線を設定する方法を教えてもらえますTableRowか?
私は 1 つ持っており、リストに 1 つのオブジェクトをListView表示しました。ArrayList各リスト項目はTableLayout. TableLayoutを持っていTableRowます。TableRow3TextView秒あります。
私はグリッドのように見えるよう  に、 TextViews の境界線を表示したいと考えています。ListView
TextViewでs の境界線を設定する方法を教えてもらえますTableRowか?
以下のコードを使用してみてください。
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:padding="10dp"
android:shape="rectangle" >
  <stroke
    android:width="1dp"
    android:color="#C0C0C0" />
<solid android:color="#C0C0C0" />
<corners
    android:bottomLeftRadius="5dp"
    android:bottomRightRadius="5dp"
    android:topLeftRadius="5dp"
    android:topRightRadius="5dp" />
 </shape>