채팅방에 옆에 작게 시간이 뜨게하려고 하는데여
ListView와 Arrayadapter을 이용해서 채팅창을 구현 중인데 listview에 user, time, message 세가지가 들어가요
chat_user = (String) ((DataSnapshot) i.next()).getValue();
chat_msg = (String) ((DataSnapshot) i.next()).getValue();
chat_time = (String) ((DataSnapshot) i.next()).getValue();
arrayAdapter.add(chat_time + chat_user + " : " + chat_msg);
chat_time만 글자 크기를 줄이고 싶은데 가능할까요?
arrayAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, list);
listView.setAdapter(arrayAdapter);
simple_list_item_2를 이용해야하나여 ?ㅇㅅㅇ