@@ -0,0 +1,1435 @@
+package org.app.application;%0A%0Aimport android.os.Bundle;%0Aimport android.support.annotation.Nullable;%0Aimport android.support.v4.app.FragmentActivity;%0Aimport android.widget.FrameLayout;%0Aimport android.widget.Toast;%0A%0Aimport org.app.material.AndroidUtilities;%0Aimport org.app.material.widget.ActionBar;%0A%0Apublic class SettingsActivity extends FragmentActivity %7B%0A%0A    @Override%0A    protected void onCreate(@Nullable Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A%0A        FrameLayout layout = new FrameLayout(this);%0A        layout.setBackgroundColor(0xFFF0F0F0);%0A%0A        ActionBar actionBar = new ActionBar(this)%0A                .setBackGroundColor(AndroidUtilities.getContextColor(R.attr.colorPrimary))%0A                .setBackButtonImage(R.drawable.ic_arrow_back)%0A                .setTitle(R.string.Settings)%0A                .setOccupyStatusBar(false)%0A                .setActionBarMenuOnItemClick(new ActionBar.ActionBarMenuOnItemClick() %7B%0A                    @Override%0A                    public void onItemClick(int id) %7B%0A                        if (id == -1) %7B%0A                            Toast.makeText(SettingsActivity.this, %22Return to prev activity%22, Toast.LENGTH_SHORT).show();%0A                        %7D%0A                    %7D%0A                %7D);%0A        layout.addView(actionBar);%0A%0A        setContentView(layout);%0A    %7D%0A%0A    @Override%0A    public void onBackPressed() %7B%0A        super.onBackPressed();%0A    %7D%0A%7D

Create settings class