mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
命名変更
This commit is contained in:
parent
65c6264428
commit
efa377409d
|
@ -10,10 +10,10 @@ import android.view.ViewGroup;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple {@link Fragment} subclass.
|
* A simple {@link Fragment} subclass.
|
||||||
* Use the {@link DebugMenuSubContainerFragment#newInstance} factory method to
|
* Use the {@link DebugMenuContainerFragment#newInstance} factory method to
|
||||||
* create an instance of this fragment.
|
* create an instance of this fragment.
|
||||||
*/
|
*/
|
||||||
public class DebugMenuSubContainerFragment extends Fragment {
|
public class DebugMenuContainerFragment extends Fragment {
|
||||||
|
|
||||||
// TODO: Rename parameter arguments, choose names that match
|
// TODO: Rename parameter arguments, choose names that match
|
||||||
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
|
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
|
||||||
|
@ -24,7 +24,7 @@ public class DebugMenuSubContainerFragment extends Fragment {
|
||||||
private String mParam1;
|
private String mParam1;
|
||||||
private String mParam2;
|
private String mParam2;
|
||||||
|
|
||||||
public DebugMenuSubContainerFragment() {
|
public DebugMenuContainerFragment() {
|
||||||
// Required empty public constructor
|
// Required empty public constructor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ public class DebugMenuSubContainerFragment extends Fragment {
|
||||||
* @return A new instance of fragment DebugMenuSubContainerFragment.
|
* @return A new instance of fragment DebugMenuSubContainerFragment.
|
||||||
*/
|
*/
|
||||||
// TODO: Rename and change types and number of parameters
|
// TODO: Rename and change types and number of parameters
|
||||||
public static DebugMenuSubContainerFragment newInstance(String param1, String param2) {
|
public static DebugMenuContainerFragment newInstance(String param1, String param2) {
|
||||||
DebugMenuSubContainerFragment fragment = new DebugMenuSubContainerFragment();
|
DebugMenuContainerFragment fragment = new DebugMenuContainerFragment();
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putString(ARG_PARAM1, param1);
|
args.putString(ARG_PARAM1, param1);
|
||||||
args.putString(ARG_PARAM2, param2);
|
args.putString(ARG_PARAM2, param2);
|
||||||
|
@ -59,6 +59,6 @@ public class DebugMenuSubContainerFragment extends Fragment {
|
||||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||||
Bundle savedInstanceState) {
|
Bundle savedInstanceState) {
|
||||||
// Inflate the layout for this fragment
|
// Inflate the layout for this fragment
|
||||||
return inflater.inflate(R.layout.fragment_debug_menu_sub_container, container, false);
|
return inflater.inflate(R.layout.fragment_debug_menu_container, container, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -5,7 +5,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:theme="@style/Theme.Lacerta"
|
android:theme="@style/Theme.Lacerta"
|
||||||
tools:context=".DebugMenuSubContainerFragment" >
|
tools:context=".DebugMenuContainerFragment" >
|
||||||
|
|
||||||
<com.google.android.material.appbar.MaterialToolbar
|
<com.google.android.material.appbar.MaterialToolbar
|
||||||
android:id="@+id/debug_menu_top_toolbar"
|
android:id="@+id/debug_menu_top_toolbar"
|
Loading…
Reference in New Issue
Block a user