<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@color/talk_background"
android:orientation="vertical" >
<ScrollView
android:id="@+id/talk_scroll"
android:layout_width="match_parent"
android:background="@drawable/bg_chats"
android:layout_height="match_parent" >
<LinearLayout
android:id="@+id/talk_linear"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:id="@+id/talk_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="false" />
</LinearLayout>
</ScrollView>
</LinearLayout>
----------------------------------------------------------------------------------------------
protected void sendMsg(String msg){
// View v = ll;
LayoutInflater vi = (LayoutInflater)this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View v = vi.inflate(R.layout.activity_talk_reply, null);
ViewHolder holder = createHolder(v);
holder.ncnm.setText("나");
holder.msg.setText(msg);
ll.addView(v);
}