вы можете использовать этот XML-файл в списке адаптеров класса, например
ItemsAdapter ItemsAdapter = new ItemsAdapter(EnterpriseFertilisersScreen.this,
R.layout.list, Constant.FERTILIZERMANAGERARRAY);
R.layout. "Ниже XML-файла" и пользователь в качестве дополнительного белого цвета.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:background="@color/list_bg" >
<TextView
android:id="@+id/post"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_marginLeft="7dp"
android:layout_toRightOf="@+id/bite_image"
android:gravity="center_vertical"
android:textColor="@android:color/white"
android:textSize="20sp" />
</RelativeLayout>
Если у вас есть другие вопросы, спрашивайте, не стесняйтесь ..