aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-10-16 19:26:29 -0700
committerScott Jackson <daneren2005@gmail.com>2014-10-16 19:26:29 -0700
commitd78618c064085a852a3ebba0064eeb22c83dfc97 (patch)
tree513ab0484a4cfc6eca2b754dbd97da513eacb77d /src
parent30847da1fd577f08bd02803b788c908df6f8c791 (diff)
downloaddsub-d78618c064085a852a3ebba0064eeb22c83dfc97.tar.gz
dsub-d78618c064085a852a3ebba0064eeb22c83dfc97.tar.bz2
dsub-d78618c064085a852a3ebba0064eeb22c83dfc97.zip
#386 Add shuffle year to Tasker options
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/activity/EditPlayActionActivity.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/activity/EditPlayActionActivity.java b/src/github/daneren2005/dsub/activity/EditPlayActionActivity.java
index ef960822..2ec0b6e8 100644
--- a/src/github/daneren2005/dsub/activity/EditPlayActionActivity.java
+++ b/src/github/daneren2005/dsub/activity/EditPlayActionActivity.java
@@ -29,6 +29,7 @@ import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.CheckBox;
+import android.widget.EditText;
import android.widget.Spinner;
import java.util.ArrayList;
@@ -46,6 +47,10 @@ import github.daneren2005.dsub.util.Util;
public class EditPlayActionActivity extends SubsonicActivity {
private CheckBox shuffleCheckbox;
+ private CheckBox startYearCheckbox;
+ private EditText startYearBox;
+ private CheckBox endYearCheckbox;
+ private EditText endYearBox;
private Button genreButton;
private Spinner offlineSpinner;
@@ -61,6 +66,11 @@ public class EditPlayActionActivity extends SubsonicActivity {
shuffleCheckbox.setChecked(true);
}
+ startYearCheckbox = (CheckBox) findViewById(R.id.edit_start_year_checkbox);
+ startYearBox = (EditText) findViewById(R.id.edit_start_year);
+ endYearCheckbox = (CheckBox) findViewById(R.id.edit_end_year_checkbox);
+ endYearBox = (EditText) findViewById(R.id.edit_end_year);
+
genreButton = (Button) findViewById(R.id.edit_genre_spinner);
genreButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {