Skip to content

Commit

Permalink
Move the cellular calculators to the nav drawer menu instead of a tab…
Browse files Browse the repository at this point in the history
… in cellular
  • Loading branch information
christianrowlands committed Dec 6, 2023
1 parent c86f90c commit a5a5232
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions networksurvey/src/main/res/menu/navigation_drawer_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
android:icon="@drawable/ic_cloud_connection"
android:title="@string/mqtt_connection_title_full" />

<item
android:id="@+id/calculators_fragment"
android:icon="@drawable/ic_calculator"
android:title="@string/cellular_calculators" />

<item
android:id="@+id/settings_fragment"
android:icon="@drawable/ic_settings"
Expand Down
2 changes: 1 addition & 1 deletion networksurvey/src/main/res/navigation/cellular.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<fragment
android:id="@+id/main_cellular_fragment"
android:name="com.craxiom.networksurvey.fragments.MainCellularFragment"
android:name="com.craxiom.networksurvey.fragments.NetworkDetailsFragment"
android:label="Cellular"
tools:layout="@layout/fragment_network_details">
<action
Expand Down
5 changes: 5 additions & 0 deletions networksurvey/src/main/res/navigation/nav_graph.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
</action>
</fragment>

<fragment
android:id="@+id/calculators_fragment"
android:name="com.craxiom.networksurvey.fragments.CalculatorFragment"
android:label="@string/cellular_calculators" />

<fragment
android:id="@+id/settings_fragment"
android:name="com.craxiom.networksurvey.fragments.SettingsFragment"
Expand Down

0 comments on commit a5a5232

Please sign in to comment.