package com.jamesdube.laravelnewsapp.about;

import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.jamesdube.laravelnewsapp.R;

import mehdi.sakout.aboutpage.AboutPage;

public class LaravelNews extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        View aboutPage = new AboutPage(this)
                .isRTL(false)
                .setImage(R.mipmap.ic_launcher)
                .setDescription(getResources().getString(R.string.activity_about_description))
                //                .addItem(versionElement)
                //              .addItem(adsElement)
                .addGroup("Laravel News")
                .addWebsite("http://laravel-news.com")
                .addFacebook("laravelnews")
                .addTwitter("laravelnews")
                .addYoutube("UC_HmfSCvAl_JaqdwN5YSVsg")
                .addInstagram("laravelnews")
                .addGroup("Laravel News App")
                .addEmail("jamesddube@live.com")
                .addWebsite("http://jamesdube.com")
                .addTwitter("jamesddube")
                .addPlayStore("com.jamesdube.laravelnewsapp")
                .addGitHub("jamesddube")
                .addInstagram("jamesddube")
                .create();
        setContentView(aboutPage);
    }
}

@@ -802,120 +802,8 @@
 n))%0A
-                //                .addItem(versionElement)%0A                //              .addItem(adsElement)%0A
     
@@ -1104,388 +1104,188 @@
    .
-addGroup(%22Laravel News App%22)%0A                .addEmail(%22jamesddube@live.com%22)%0A                .addWebsite(%22http://jamesdube.com%22)%0A                .addTwitter(%22jamesddube%22)%0A                .addPlayStore(%22com.jamesdube.laravelnewsapp%22)%0A                .addGitHub(%22jamesddube%22)%0A                .addInstagram(%22jamesddube%22)%0A                .create();%0A        setContentView(aboutPage);
+create();%0A        setContentView(aboutPage);%0A%0A        ActionBar actionBar = getSupportActionBar();%0A        if(actionBar != null)%7B%0A            actionBar.setTitle(%22About%22);%0A        %7D
 %0A   

remove developer links add activity title