Android Open Source - FisgoDroid Chat Line View

From Project

Back to project page FisgoDroid.


The source code is released under:

The smiley icons bundled with this application belong to Meneame.NET and are licensed under the Creative Commons by-sa 3.0 license. For more information, please visit

If you think the Android project FisgoDroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.meneame.fisgodroid;
/*from   w  w  w .  j  av  a  2  s.  c o m*/
import android.content.Context;
import android.widget.TextView;

public class ChatLineView extends ChatBaseView
    private TextView mMessage;

    public ChatLineView(Context context)
        super(context, R.layout.chat_line);

        if ( !isInEditMode() )

    private void init()
        mMessage = (TextView) findViewById(;

    public void setChatMessage(ChatMessage message, boolean highlight)
        super.setChatMessage(message, highlight);

        if ( message.getType() == ChatType.PUBLIC )
        else if ( message.getType() == ChatType.FRIENDS )
        else if ( message.getType() == ChatType.ADMIN )

Java Source Code List