// Path: app/src/main/java/rehanced/com/simpleetherwallet/fragments/ToSFragment.java
// public class ToSFragment extends Fragment {
// 
//     private TextView tos;
//     private CheckBox read;
//     private boolean checked = false;
// 
//     @SuppressWarnings("ConstantConditions")
//     @Override
//     public void onActivityCreated(@Nullable Bundle savedInstanceState) {
//         super.onActivityCreated(savedInstanceState);
// 
//         tos = (TextView) getView().findViewById(R.id.tostext);
//         tos.setText(Html.fromHtml(loadTerms()));
//         read = (CheckBox) getView().findViewById(R.id.checkBox);
// 
//         read.setOnClickListener(new View.OnClickListener() {
//             @Override
//             public void onClick(View view) {
//                 checked = read.isChecked();
//             }
//         });
//     }
// 
//     private String loadTerms() {
//         StringBuilder termsString = new StringBuilder();
//         BufferedReader reader;
//         try {
//             reader = new BufferedReader(
//                     new InputStreamReader(getActivity().getAssets().open("gpl.txt")));
// 
//             String str;
//             while ((str = reader.readLine()) != null) {
//                 termsString.append(str);
//             }
// 
//             reader.close();
//             return termsString.toString();
//         } catch (IOException e) {
//             e.printStackTrace();
//         }
//         return null;
//     }
// 
//     public boolean isToSChecked() {
//         return checked;
//     }
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//         return inflater.inflate(R.layout.tos_layout, container, false);
//     }
// }


import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import android.widget.Toast;
import com.github.paolorotolo.appintro.AppIntro2;
import com.github.paolorotolo.appintro.AppIntroFragment;
import rehanced.com.simpleetherwallet.R;
import rehanced.com.simpleetherwallet.fragments.ToSFragment;
package rehanced.com.simpleetherwallet.activities;





public class AppIntroActivity extends AppIntro2 {

    public static final int REQUEST_CODE = 602;
// Path: app/src/main/java/rehanced/com/simpleetherwallet/fragments/ToSFragment.java
// public class ToSFragment extends Fragment {
// 
//     private TextView tos;
//     private CheckBox read;
//     private boolean checked = false;
// 
//     @SuppressWarnings("ConstantConditions")
//     @Override
//     public void onActivityCreated(@Nullable Bundle savedInstanceState) {
//         super.onActivityCreated(savedInstanceState);
// 
//         tos = (TextView) getView().findViewById(R.id.tostext);
//         tos.setText(Html.fromHtml(loadTerms()));
//         read = (CheckBox) getView().findViewById(R.id.checkBox);
// 
//         read.setOnClickListener(new View.OnClickListener() {
//             @Override
//             public void onClick(View view) {
//                 checked = read.isChecked();
//             }
//         });
//     }
// 
//     private String loadTerms() {
//         StringBuilder termsString = new StringBuilder();
//         BufferedReader reader;
//         try {
//             reader = new BufferedReader(
//                     new InputStreamReader(getActivity().getAssets().open("gpl.txt")));
// 
//             String str;
//             while ((str = reader.readLine()) != null) {
//                 termsString.append(str);
//             }
// 
//             reader.close();
//             return termsString.toString();
//         } catch (IOException e) {
//             e.printStackTrace();
//         }
//         return null;
//     }
// 
//     public boolean isToSChecked() {
//         return checked;
//     }
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//         return inflater.inflate(R.layout.tos_layout, container, false);
//     }
// }


// Path: app/src/main/java/rehanced/com/simpleetherwallet/activities/AppIntroActivity.java
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import android.widget.Toast;
import com.github.paolorotolo.appintro.AppIntro2;
import com.github.paolorotolo.appintro.AppIntroFragment;
import rehanced.com.simpleetherwallet.R;
import rehanced.com.simpleetherwallet.fragments.ToSFragment;

package rehanced.com.simpleetherwallet.activities;





public class AppIntroActivity extends AppIntro2 {

    public static final int REQUEST_CODE = 602;
    private ToSFragment tosFragment;