Back to project page WearPomodoro.
The source code is released under:
GNU General Public License
If you think the Android project WearPomodoro listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (C) 2014 Alex Korovyansky./* w ww.j ava 2s .co m*/ */ package com.alexkorovyansky.wearpomodoro.app; import android.app.Activity; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.widget.TextView; import com.alexkorovyansky.wearpomodoro.R; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); TextView remark = (TextView) findViewById(R.id.main_remark); remark.setText(Html.fromHtml(getString(R.string.main_remark))); remark.setMovementMethod(LinkMovementMethod.getInstance()); } @Override protected void onStart() { super.onStart(); setTitle(R.string.main_title); } }