public override void onCreate(Bundle savedInstanceState)
		{
			base.onCreate(savedInstanceState);

			ContentView = R.layout.activity_smartclip;

			TextView tv = (TextView) findViewById(R.id.text_static);

			SlookSmartClip sc = new SlookSmartClip(tv);
			sc.clearAllMetaTag();
			sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_URL, "http://www.samsung.com"));
			sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_PLAIN_TEXT, "This is android textview."));

			Button gotoPinAll = (Button) findViewById(R.id.gotopinboard);
			gotoPinAll.OnClickListener = new OnClickListenerAnonymousInnerClassHelper(this);

		}
示例#2
0
        public override void onCreate(Bundle savedInstanceState)
        {
            base.onCreate(savedInstanceState);

            ContentView = R.layout.activity_smartclip;

            TextView tv = (TextView)findViewById(R.id.text_static);

            SlookSmartClip sc = new SlookSmartClip(tv);

            sc.clearAllMetaTag();
            sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_URL, "http://www.samsung.com"));
            sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_PLAIN_TEXT, "This is android textview."));

            Button gotoPinAll = (Button)findViewById(R.id.gotopinboard);

            gotoPinAll.OnClickListener = new OnClickListenerAnonymousInnerClassHelper(this);
        }