Adding some comments
This commit is contained in:
parent
9ddebecb9e
commit
dc530ac103
@ -9,7 +9,8 @@
|
|||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.MyWeather">
|
android:theme="@style/Theme.MyWeather">
|
||||||
<!-- Adding an attribute to remove the app bar only in the activity that allows the user to add a city-->
|
<!-- Adding an attribute to remove the app bar (.NoActionBar) only in the activity that allows the user to add a city, also declaring
|
||||||
|
the mainActivity as a parent of AddCity activity in order to go back to the mainActivity screen-->
|
||||||
<activity android:name=".AddCity"
|
<activity android:name=".AddCity"
|
||||||
android:parentActivityName=".MainActivity"
|
android:parentActivityName=".MainActivity"
|
||||||
android:theme="@style/Theme.MyWeather.NoActionBar">
|
android:theme="@style/Theme.MyWeather.NoActionBar">
|
||||||
@ -17,7 +18,6 @@
|
|||||||
<activity android:name=".MainActivity">
|
<activity android:name=".MainActivity">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user