updated libs

added library management
changed some edittext to the right class
This commit is contained in:
2016-04-30 20:17:07 +02:00
parent 239429cb5e
commit 58980c494e
17 changed files with 122 additions and 129 deletions

View File

@@ -54,42 +54,42 @@ import java.text.NumberFormat;
import java.text.ParsePosition;
import java.util.List;
import butterknife.Bind;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
public class AddStripeDialog extends DialogFragment implements DialogInterface.OnShowListener {
public static AddStripeDialog instance;
@Bind(R.id.spinner_daemon)
@BindView(R.id.spinner_daemon)
Spinner daemonSpinner;
@Bind(R.id.spinner_controller)
@BindView(R.id.spinner_controller)
Spinner controllerSpinner;
@Bind(R.id.choose_controller_lay)
@BindView(R.id.choose_controller_lay)
RelativeLayout controllerLayout;
@Bind(R.id.input_stripe_name_lay)
@BindView(R.id.input_stripe_name_lay)
TextInputLayout stripeNameLay;
@Bind(R.id.input_stripe_name)
@BindView(R.id.input_stripe_name)
EditText stripeNameText;
@Bind(R.id.input_channel_r_lay)
@BindView(R.id.input_channel_r_lay)
TextInputLayout channelRLay;
@Bind(R.id.input_channel_r)
@BindView(R.id.input_channel_r)
EditText channelR;
@Bind(R.id.input_channel_g_lay)
@BindView(R.id.input_channel_g_lay)
TextInputLayout channelGLay;
@Bind(R.id.input_channel_g)
@BindView(R.id.input_channel_g)
EditText channelG;
@Bind(R.id.input_channel_b_lay)
@BindView(R.id.input_channel_b_lay)
TextInputLayout channelBLay;
@Bind(R.id.input_channel_b)
@BindView(R.id.input_channel_b)
EditText channelB;
@Bind(R.id.stripe_mapping_lay)
@BindView(R.id.stripe_mapping_lay)
LinearLayout stripeMapping;
@Bind(R.id.imgbuttn_togglechannel_r)
@BindView(R.id.imgbuttn_togglechannel_r)
ImageButton channelRBttn;
@Bind(R.id.imgbuttn_togglechannel_g)
@BindView(R.id.imgbuttn_togglechannel_g)
ImageButton channelGBttn;
@Bind(R.id.imgbuttn_togglechannel_b)
@BindView(R.id.imgbuttn_togglechannel_b)
ImageButton channelBBttn;
ArrayAdapter<LedDDaemon> daemonArrayAdapter;
ArrayAdapter<Controller> controllerArrayAdapter;