Archived
Added Linkify to 'Bli medlem'
This commit is contained in:
1 parent
5f724e28d1
commit
27546d4903
1 file changed
+5
@@ -1,6 +1,8 @@
|
||||
package com.studentersamfundet.app.ui;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.text.util.Linkify;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.studentersamfundet.app.R;
|
||||
|
||||
@@ -8,5 +10,8 @@ public class JoinUsActivity extends BaseDnsActivity {
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.join_us);
|
||||
|
||||
TextView tv = (TextView)findViewById(R.id.join_us_textview);
|
||||
Linkify.addLinks(tv, Linkify.EMAIL_ADDRESSES);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user