package com.martindisch.chronoscopy;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;

public class SettingsActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_settings);

        // Prepare toolbar
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);
        getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_close);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    }

}

@@ -152,66 +152,330 @@
 ar;%0A
-%0Apublic class SettingsActivity extends AppCompatActivity %7B
+import android.widget.EditText;%0Aimport android.widget.SeekBar;%0A%0Apublic class SettingsActivity extends AppCompatActivity implements SeekBar.OnSeekBarChangeListener %7B%0A%0A    private SeekBar mSbRegret, mSbSkill, mSbFun, mSbResponsibility;%0A    private EditText mEtRegret, mEtSkill, mEtFun, mEtResponsibility, mEtLeisure, mEtDob;
 %0A%0A  
@@ -909,13 +909,1810 @@
 e);%0A
-    %7D%0A
+%0A        // Get views%0A        mSbRegret = (SeekBar) findViewById(R.id.settings_sbRegret);%0A        mSbSkill = (SeekBar) findViewById(R.id.settings_sbSkill);%0A        mSbFun = (SeekBar) findViewById(R.id.settings_sbFun);%0A        mSbResponsibility = (SeekBar) findViewById(R.id.settings_sbResponsibility);%0A        mEtRegret = (EditText) findViewById(R.id.settings_etRegret);%0A        mEtSkill = (EditText) findViewById(R.id.settings_etSkill);%0A        mEtFun = (EditText) findViewById(R.id.settings_etFun);%0A        mEtResponsibility = (EditText) findViewById(R.id.settings_etResponsibility);%0A        mEtLeisure = (EditText) findViewById(R.id.settings_etLeisure);%0A        mEtDob = (EditText) findViewById(R.id.settings_etDate);%0A%0A        // Set listeners%0A        mSbRegret.setOnSeekBarChangeListener(this);%0A        mSbSkill.setOnSeekBarChangeListener(this);%0A        mSbFun.setOnSeekBarChangeListener(this);%0A        mSbResponsibility.setOnSeekBarChangeListener(this);%0A    %7D%0A%0A    @Override%0A    public void onProgressChanged(SeekBar seekBar, int i, boolean b) %7B%0A        switch (seekBar.getId()) %7B%0A            case R.id.settings_sbRegret:%0A                mEtRegret.setText(String.valueOf(seekBar.getProgress()));%0A                break;%0A            case R.id.settings_sbSkill:%0A                mEtSkill.setText(String.valueOf(seekBar.getProgress()));%0A                break;%0A            case R.id.settings_sbFun:%0A                mEtFun.setText(String.valueOf(seekBar.getProgress()));%0A                break;%0A            case R.id.settings_sbResponsibility:%0A                mEtResponsibility.setText(String.valueOf(seekBar.getProgress()));%0A                break;%0A        %7D%0A    %7D%0A%0A    @Override%0A    public void onStartTrackingTouch(SeekBar seekBar) %7B%7D%0A    @Override%0A    public void onStopTrackingTouch(SeekBar seekBar) %7B%7D
 %0A%7D%0A

Make SeekBars update their EditTexts