
moved from assistant to one single activity model with dialogs and navigation drawer as main content holder completed separate threaded queue based service to communicate with daemon(s) added first few elements to the nav drawer
31 lines
802 B
Java
31 lines
802 B
Java
package com.idlegandalf.ledd;
|
|
|
|
import android.os.Bundle;
|
|
import android.support.v4.app.Fragment;
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import android.widget.LinearLayout;
|
|
|
|
import butterknife.Bind;
|
|
import butterknife.ButterKnife;
|
|
import butterknife.OnClick;
|
|
|
|
public class DrawerFragment extends Fragment {
|
|
@Bind(R.id.lay_add_host)
|
|
LinearLayout addHost;
|
|
|
|
@Override
|
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
|
View v = inflater.inflate(R.layout.drawer_fragment, container, false);
|
|
ButterKnife.bind(this, v);
|
|
|
|
return v;
|
|
}
|
|
|
|
@OnClick(R.id.lay_add_host)
|
|
public void addHost() {
|
|
// TODO: add dialog with selection and input things
|
|
}
|
|
}
|