Android Open Source - Sharinger Text View Activity






From Project

Back to project page Sharinger.

License

The source code is released under:

Apache License

If you think the Android project Sharinger 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 mobi.tarantio.tools.sharinger.app;
/* w ww  .  j av  a 2s  . c  o  m*/
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 * ?????????? ?? ????? ?????? ??????
 */
public class TextViewActivity  extends Activity {
    public static final String TEXT = "text";


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.full_text_dialog);

        SystemBarTintManager tintManager = new SystemBarTintManager(this);
        tintManager.setStatusBarTintEnabled(true);
        tintManager.setNavigationBarTintEnabled(true);
        tintManager.setTintColor(getResources().getColor(R.color.statusbar_bg));


        Intent intent = getIntent();
        String text = intent.getStringExtra(TEXT);

        if (text != null) {
            ((TextView) findViewById(R.id.textView)).setText(text);
        }
    }
}




Java Source Code List

mobi.tarantio.tools.sharinger.app.CopyToClipboardActivity.java
mobi.tarantio.tools.sharinger.app.ExpandableTextView.java
mobi.tarantio.tools.sharinger.app.IntentHandler.java
mobi.tarantio.tools.sharinger.app.ShareIntentListBuilder.java
mobi.tarantio.tools.sharinger.app.ShareListActivity.java
mobi.tarantio.tools.sharinger.app.SystemBarTintManager.java
mobi.tarantio.tools.sharinger.app.TextViewActivity.java
mobi.tarantio.tools.sharinger.app.test.java