|
@@ -28,6 +28,7 @@ import android.text.Html;
|
|
|
import android.text.method.LinkMovementMethod;
|
|
|
import android.view.MenuItem;
|
|
|
import android.view.View;
|
|
|
+import android.widget.Button;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
import com.owncloud.android.R;
|
|
@@ -36,6 +37,7 @@ import com.owncloud.android.R;
|
|
|
* Activity providing information about ways to participate in the app's development.
|
|
|
*/
|
|
|
public class ParticipateActivity extends FileActivity {
|
|
|
+ private Button mReportBtn;
|
|
|
|
|
|
@Override
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
@@ -71,10 +73,14 @@ public class ParticipateActivity extends FileActivity {
|
|
|
getString(R.string.irc_weblink),
|
|
|
getString(R.string.help_link)
|
|
|
)));
|
|
|
- }
|
|
|
|
|
|
- public void onReportIssueClick(View view) {
|
|
|
- startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.report_issue_link))));
|
|
|
+ mReportBtn = (Button) findViewById(R.id.participate_testing_report);
|
|
|
+ mReportBtn.setOnClickListener(new View.OnClickListener() {
|
|
|
+ @Override
|
|
|
+ public void onClick(View v) {
|
|
|
+ startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.report_issue_link))));
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
public void onGetBetaFDroidClick(View view) {
|