Back to project page Sharinger.
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.
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); } } }