Search in sources :

Example 1 with AboutPage

use of mehdi.sakout.aboutpage.AboutPage in project VirtualXposed by android-hacker.

the class AboutActivity method onCreate.

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    AboutPage page = new AboutPage(this).isRTL(false).setImage(R.mipmap.ic_launcher).addItem(getVersionElement()).addItem(getCheckUpdateElement()).addItem(getFeedbackElement()).addItem(getFeedbackWechatElement()).addItem(getThanksElement()).addEmail("va1xposed@gmail.com").addWebsite("http://vxposed.com").addGitHub("tiann").addItem(getCopyRightsElement());
    View aboutPage = page.create();
    setContentView(aboutPage);
}
Also used : AboutPage(mehdi.sakout.aboutpage.AboutPage) View(android.view.View)

Example 2 with AboutPage

use of mehdi.sakout.aboutpage.AboutPage in project android-about-page by medyo.

the class MainActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    Element adsElement = new Element();
    adsElement.setTitle("Advertise with us");
    View aboutPage = new AboutPage(this).isRTL(false).setImage(R.drawable.dummy_image).addItem(new Element().setTitle("Version 6.2")).addItem(adsElement).addGroup("Connect with us").addEmail("elmehdi.sakout@gmail.com").addWebsite("https://mehdisakout.com/").addFacebook("the.medy").addTwitter("medyo80").addYoutube("UCdPQtdWIsg7_pi4mrRu46vA").addPlayStore("com.ideashower.readitlater.pro").addInstagram("medyo80").addGitHub("medyo").addItem(getCopyRightsElement()).create();
    setContentView(aboutPage);
}
Also used : Element(mehdi.sakout.aboutpage.Element) AboutPage(mehdi.sakout.aboutpage.AboutPage) View(android.view.View)

Example 3 with AboutPage

use of mehdi.sakout.aboutpage.AboutPage in project MyNewCC98 by 6769.

the class AboutActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    View aboutPage = new AboutPage(this).isRTL(false).setImage(R.mipmap.ic_launcher98).setDescription(getString(R.string.about_mycc98)).addGroup("Version").addItem(getVersionRow()).addGroup("Connect with us").addEmail(getString(R.string.application_contact_email_addr)).addItem(getOpenSources()).addWebsite(getString(R.string.application_github_website_url)).addGitHub(getString(R.string.application_contact_github_user)).addItem(getShareAppRow()).create();
    setContentView(aboutPage);
}
Also used : AboutPage(mehdi.sakout.aboutpage.AboutPage) View(android.view.View)

Example 4 with AboutPage

use of mehdi.sakout.aboutpage.AboutPage in project guanggoo-android by mzlogin.

the class AboutFragment method onCreateView.

@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
    Element checkUpdateElement = new Element();
    checkUpdateElement.setTitle(getString(R.string.check_updates)).setIconDrawable(R.drawable.ic_update).setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {
            Beta.checkUpgrade(true, false);
        }
    });
    return new AboutPage(getActivity()).isRTL(false).setImage(R.drawable.guanggoo_new).setDescription(getString(R.string.app_description, VersionUtil.getVersion(getContext()))).addWebsite(getString(R.string.issue_address), getString(R.string.feedback)).addItem(checkUpdateElement).addGitHub(getString(R.string.source_code_address), getString(R.string.source_code)).addGroup(getString(R.string.contact_me)).addEmail(getString(R.string.author_email), getString(R.string.author_email)).addWebsite(getString(R.string.author_website), getString(R.string.author_website)).addGitHub(getString(R.string.author_github), getString(R.string.follow_github)).create();
}
Also used : Element(mehdi.sakout.aboutpage.Element) AboutPage(mehdi.sakout.aboutpage.AboutPage) View(android.view.View) Nullable(android.support.annotation.Nullable)

Aggregations

View (android.view.View)4 AboutPage (mehdi.sakout.aboutpage.AboutPage)4 Element (mehdi.sakout.aboutpage.Element)2 Nullable (android.support.annotation.Nullable)1