mirror of
https://github.com/hmalik144/Weather-apps.git
synced 2026-03-18 15:36:04 +00:00
- added black background feature to Widget - Update to MyWidgetRemoteViewsFactory.kt
74 lines
3.2 KiB
XML
74 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/main_navigation"
|
|
app:startDestination="@id/nav_home"
|
|
tools:ignore="UnusedNavigation">
|
|
|
|
<fragment
|
|
android:id="@+id/nav_home"
|
|
android:name="com.appttude.h_mal.atlas_weather.ui.home.HomeFragment"
|
|
android:label="Home"
|
|
tools:layout="@layout/fragment_home">
|
|
<action
|
|
android:id="@+id/action_homeFragment_to_furtherDetailsFragment"
|
|
app:destination="@id/furtherDetailsFragment"
|
|
app:enterAnim="@anim/fragment_open_enter"
|
|
app:exitAnim="@anim/fragment_open_exit"
|
|
app:popEnterAnim="@anim/fragment_open_enter"
|
|
app:popExitAnim="@anim/fragment_open_exit" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/furtherDetailsFragment"
|
|
android:name="com.appttude.h_mal.atlas_weather.ui.details.FurtherInfoFragment"
|
|
android:label="Further Details">
|
|
<argument
|
|
android:name="forecast"
|
|
app:argType="com.appttude.h_mal.atlas_weather.model.forecast.Forecast" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_world"
|
|
android:name="com.appttude.h_mal.atlas_weather.ui.world.WorldFragment"
|
|
android:label="World"
|
|
tools:layout="@layout/fragment__two">
|
|
<action
|
|
android:id="@+id/action_worldFragment_to_addLocationFragment"
|
|
app:destination="@id/addLocationFragment"
|
|
app:enterAnim="@anim/fragment_open_enter"
|
|
app:exitAnim="@anim/fragment_open_exit"
|
|
app:popEnterAnim="@anim/fragment_open_enter"
|
|
app:popExitAnim="@anim/fragment_open_exit" />
|
|
<action
|
|
android:id="@+id/action_worldFragment_to_worldItemFragment"
|
|
app:destination="@id/worldItemFragment"
|
|
app:enterAnim="@anim/fragment_open_enter"
|
|
app:exitAnim="@anim/fragment_open_exit"
|
|
app:popEnterAnim="@anim/fragment_open_enter"
|
|
app:popExitAnim="@anim/fragment_open_exit" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/addLocationFragment"
|
|
android:name="com.appttude.h_mal.atlas_weather.ui.world.AddLocationFragment"
|
|
android:label="Add Weather Location"
|
|
tools:layout="@layout/activity_add_forecast" />
|
|
<fragment
|
|
android:id="@+id/worldItemFragment"
|
|
android:name="com.appttude.h_mal.atlas_weather.ui.WorldItemFragment"
|
|
android:label="Overview"
|
|
tools:layout="@layout/fragment_home">
|
|
<action
|
|
android:id="@+id/action_worldItemFragment_to_furtherDetailsFragment"
|
|
app:destination="@id/furtherDetailsFragment"
|
|
app:enterAnim="@anim/fragment_open_enter"
|
|
app:exitAnim="@anim/fragment_open_exit"
|
|
app:popEnterAnim="@anim/fragment_open_enter"
|
|
app:popExitAnim="@anim/fragment_open_exit" />
|
|
<argument
|
|
android:name="weatherDisplay"
|
|
app:argType="com.appttude.h_mal.atlas_weather.model.forecast.WeatherDisplay" />
|
|
</fragment>
|
|
|
|
</navigation> |