Bluetooth設定を起動できるように
This commit is contained in:
parent
3d5c1cec09
commit
953f3b81d0
|
@ -36,4 +36,14 @@ public class SettingFragment extends Fragment {
|
||||||
// Inflate the layout for this fragment
|
// Inflate the layout for this fragment
|
||||||
return inflater.inflate(R.layout.fragment_setting, container, false);
|
return inflater.inflate(R.layout.fragment_setting, container, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||||
|
super.onViewCreated(view, savedInstanceState);
|
||||||
|
|
||||||
|
view.findViewById(R.id.button_bluetooth_setting).setOnClickListener( v -> {
|
||||||
|
getParentFragmentManager().beginTransaction().replace(R.id.fragmentContainerView, bluetooth_setupFragment.newInstance("test", "test")).commit();
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user