Back to project page prepGRE.
The source code is released under:
MIT License
If you think the Android project prepGRE 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.abhimanbhau.prepgre.ui; //w w w .ja v a 2s . c om import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.abhimanbhau.prepgre.R; import com.github.amlcurran.showcaseview.ShowcaseView; import com.github.amlcurran.showcaseview.targets.ViewTarget; public class AboutFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment View view = inflater.inflate(R.layout.fragment_about, container, false); //showShowcase(); return view; } @Override public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); showShowcase(); } void showShowcase() { if (getView() == null) { return; } ViewTarget viewTarget = new ViewTarget(R.id.txtMainDataView, getActivity()); new ShowcaseView.Builder(getActivity(), true) .setTarget(viewTarget) .setContentTitle("Fuck off bitch") .setContentText("Love ya Neha!") .singleShot(42) .build().show(); } }