package dk.cmol.arduinorgb_controller;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class FaderFragment extends Fragment {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View rootView = inflater.inflate(R.layout.fragment_fader,
				container, false);

		return rootView;
	}
}
@@ -191,16 +191,52 @@
 ewGroup;
+%0Aimport android.widget.NumberPicker;
 %0A%0Apublic
@@ -454,31 +454,394 @@
 der,
-%0A%09%09%09%09container, false);
+ container,%0A%09%09%09%09false);%0A%0A%09%09// Add min and max to number picker elements%0A%09%09NumberPicker%5B%5D nps = %7B(NumberPicker) rootView.findViewById(R.id.numberPicker1),%0A%09%09%09%09(NumberPicker) rootView.findViewById(R.id.numberPicker2),%0A%09%09%09%09(NumberPicker) rootView.findViewById(R.id.numberPicker3)%0A%09%09%7D;%0A%09%09%0A%09%09for (int i = 0; i %3C nps.length; i++) %7B%0A%09%09%09nps%5Bi%5D.setMaxValue(255);%0A%09%09%09nps%5Bi%5D.setMinValue(0);%0A%09%09%7D%0A%09%09
 %0A%0A%09%09

Add value information to the numberPickers