我试图简单地将文本置于离子 // Select item on listclick
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
Log.e("search", "here---------------- listener");
SelectUser data = selectUsers.get(i);
data = usermanager.getUser(data, selectUsers);
yuyu = data.getName();
Toast.makeText(getApplicationContext(), "Uri:" + yuyu, Toast.LENGTH_LONG).show();
SelectUserAdapter adapter = (SelectUserAdapter) adapterView.getAdapter();
adapter.markSelected(i);
}
});
中。我尝试添加list-inset
作为一些答案。我也尝试过像here那样编写自定义CSS。到目前为止,他们都没有为我工作。
我的代码如下。我应该从哪里开始?
row-center
答案 0 :(得分:0)
而不是row-center
尝试text-center