Back to project page sdl_tester_android.
The source code is released under:
Copyright (c) 2014, Ford Motor Company All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
If you think the Android project sdl_tester_android 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 com.livio.sdl.dialogs; //from w ww. j a v a 2 s . c o m import android.content.Context; import android.view.View; import android.view.View.OnClickListener; import com.livio.sdl.SdlLogMessage; import com.livio.sdl.utils.SdlUtils; public class SingleJsonDialog extends TextViewAlertDialog { public SingleJsonDialog(Context context, SdlLogMessage logMessage) { super(context, SdlUtils.makeJsonTitle(logMessage.getCorrelationId()), logMessage.getJsonData()); // click listener to close dialog when the text is clicked tv.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { dismiss(); } }); } }