Skip to content

Commit

Permalink
feat: 删除无用的Gallery碎片
Browse files Browse the repository at this point in the history
  • Loading branch information
liewstar committed Nov 28, 2024
1 parent 6c4a8eb commit 94ca34d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 65 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/example/CQUPT/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected void onCreate(Bundle savedInstanceState) {

// 配置导航
mAppBarConfiguration = new AppBarConfiguration.Builder(
R.id.nav_home, R.id.nav_gallery, R.id.nav_slideshow,
R.id.nav_home, R.id.nav_slideshow,
R.id.nav_network, R.id.nav_news, R.id.nav_course_selection, R.id.settingsFragment, R.id.aboutFragment)
.setOpenableLayout(drawer)
.build();
Expand Down

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions app/src/main/res/menu/activity_main_drawer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
android:id="@+id/nav_home"
android:icon="@drawable/ic_menu_schedule"
android:title="课表" />
<item
android:id="@+id/nav_gallery"
android:icon="@drawable/ic_menu_gallery"
android:title="@string/menu_gallery" />
<item
android:id="@+id/nav_slideshow"
android:icon="@drawable/ic_menu_export"
Expand Down
6 changes: 0 additions & 6 deletions app/src/main/res/navigation/mobile_navigation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
android:label="课表"
tools:layout="@layout/fragment_classes" />

<fragment
android:id="@+id/nav_gallery"
android:name="com.example.CQUPT.ui.gallery.GalleryFragment"
android:label="@string/menu_gallery"
tools:layout="@layout/fragment_gallery" />

<fragment
android:id="@+id/nav_slideshow"
android:name="com.example.CQUPT.ui.slideshow.SlideshowFragment"
Expand Down

0 comments on commit 94ca34d

Please sign in to comment.