|
3 | 3 | package="ellere.cooksmart">
|
4 | 4 |
|
5 | 5 | <uses-permission android:name="android.permission.INTERNET" />
|
6 |
| - <uses-permission android:name="android.permission.INTERNET" /> |
| 6 | + |
| 7 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
7 | 8 |
|
8 | 9 | <uses-feature
|
9 | 10 | android:name="android.hardware.camera"
|
|
18 | 19 | android:roundIcon="@mipmap/ic_launcher_round"
|
19 | 20 | android:supportsRtl="true"
|
20 | 21 | android:theme="@style/AppMaterialTheme">
|
21 |
| - <activity android:name=".HomePage"> |
22 |
| - <intent-filter> |
23 |
| - <action android:name="android.intent.action.MAIN" /> |
| 22 | + <activity android:name=".HomePage" |
| 23 | + android:configChanges="orientation" |
| 24 | + android:screenOrientation="portrait" |
| 25 | + > |
| 26 | + <!--<intent-filter>--> |
| 27 | + <!--<action android:name="android.intent.action.MAIN" />--> |
24 | 28 |
|
25 |
| - <category android:name="android.intent.category.LAUNCHER" /> |
26 |
| - </intent-filter> |
| 29 | + <!--<category android:name="android.intent.category.LAUNCHER" />--> |
| 30 | + <!--</intent-filter>--> |
27 | 31 |
|
28 | 32 | </activity>
|
29 |
| - <activity android:name=".Breakfast"> |
| 33 | + <activity android:name=".Breakfast" |
| 34 | + android:configChanges="orientation" |
| 35 | + android:screenOrientation="portrait"> |
30 | 36 | <!--<intent-filter>-->
|
31 | 37 | <!--<action android:name="android.intent.action.MAIN" />-->
|
32 | 38 |
|
33 | 39 | <!--<category android:name="android.intent.category.LAUNCHER" />-->
|
34 | 40 | <!--</intent-filter>-->
|
35 | 41 | </activity>
|
36 |
| - <activity android:name=".Snacks" /> |
37 |
| - <activity android:name=".Dinner" /> |
38 |
| - <activity android:name=".Curry" /> |
39 |
| - <activity android:name=".Dessert" /> |
40 |
| - <activity android:name=".Drinks" > |
| 42 | + <activity android:name=".Snacks" |
| 43 | + android:configChanges="orientation" |
| 44 | + android:screenOrientation="portrait"/> |
| 45 | + <activity android:name=".Dinner" |
| 46 | + android:configChanges="orientation" |
| 47 | + android:screenOrientation="portrait"/> |
| 48 | + <activity android:name=".Curry" |
| 49 | + android:configChanges="orientation" |
| 50 | + android:screenOrientation="portrait"/> |
| 51 | + <activity android:name=".Dessert" |
| 52 | + android:configChanges="orientation" |
| 53 | + android:screenOrientation="portrait"/> |
| 54 | + <activity android:name=".Drinks" |
| 55 | + android:configChanges="orientation" |
| 56 | + android:screenOrientation="portrait"> |
41 | 57 | <!--<intent-filter>-->
|
42 | 58 | <!--<action android:name="android.intent.action.MAIN" />-->
|
43 | 59 |
|
44 | 60 | <!--<category android:name="android.intent.category.LAUNCHER" />-->
|
45 | 61 | <!--</intent-filter>-->
|
46 | 62 | </activity>
|
47 |
| - <activity android:name=".SignUp" /> |
48 |
| - <activity android:name=".FirstPage"> |
49 |
| - <!--<intent-filter>--> |
50 |
| - <!--<action android:name="android.intent.action.MAIN" />--> |
| 63 | + <activity android:name=".SignUp" |
| 64 | + android:noHistory="true" |
| 65 | + android:configChanges="orientation" |
| 66 | + android:screenOrientation="portrait"/> |
| 67 | + <activity android:name=".FirstPage" |
| 68 | + android:launchMode="singleTask" |
| 69 | + android:clearTaskOnLaunch="true" |
| 70 | + android:configChanges="orientation" |
| 71 | + android:screenOrientation="portrait"> |
| 72 | + <intent-filter> |
| 73 | + <action android:name="android.intent.action.MAIN" /> |
51 | 74 |
|
52 |
| - <!--<category android:name="android.intent.category.LAUNCHER" />--> |
53 |
| - <!--</intent-filter>--> |
| 75 | + <category android:name="android.intent.category.LAUNCHER" /> |
| 76 | + </intent-filter> |
54 | 77 | </activity>
|
55 |
| - <activity android:name=".Login"> |
| 78 | + <activity android:name=".Login" |
| 79 | + android:noHistory="true" |
| 80 | + android:configChanges="orientation" |
| 81 | + android:screenOrientation="portrait"> |
56 | 82 | <!--<intent-filter>-->
|
57 | 83 | <!--<action android:name="android.intent.action.MAIN" />-->
|
58 | 84 |
|
59 | 85 | <!--<category android:name="android.intent.category.LAUNCHER" />-->
|
60 | 86 | <!--</intent-filter>-->
|
61 | 87 | </activity>
|
62 |
| - <activity android:name=".Breakfast_homepage"> |
| 88 | + <activity android:name=".Breakfast_homepage" |
| 89 | + android:configChanges="orientation" |
| 90 | + android:screenOrientation="portrait"> |
63 | 91 | <!--<intent-filter>-->
|
64 | 92 | <!--<action android:name="android.intent.action.MAIN" />-->
|
65 | 93 |
|
66 | 94 | <!--<category android:name="android.intent.category.LAUNCHER" />-->
|
67 | 95 | <!--</intent-filter>-->
|
68 | 96 |
|
69 | 97 | </activity>
|
70 |
| - <activity android:name=".Curry_homepage"> |
| 98 | + <activity android:name=".Curry_homepage" |
| 99 | + android:configChanges="orientation" |
| 100 | + android:screenOrientation="portrait"> |
71 | 101 |
|
72 | 102 | </activity>
|
73 |
| - <activity android:name=".Drinks_homepage"> |
| 103 | + <activity android:name=".Drinks_homepage" |
| 104 | + android:configChanges="orientation" |
| 105 | + android:screenOrientation="portrait"> |
74 | 106 |
|
75 | 107 | </activity>
|
76 |
| - <activity android:name=".Snacks_homepage"> |
| 108 | + <activity android:name=".Snacks_homepage" |
| 109 | + android:configChanges="orientation" |
| 110 | + android:screenOrientation="portrait"> |
77 | 111 |
|
78 | 112 | </activity>
|
79 |
| - <activity android:name=".Dessert_homepage"> |
| 113 | + <activity android:name=".Dessert_homepage" |
| 114 | + android:configChanges="orientation" |
| 115 | + android:screenOrientation="portrait"> |
80 | 116 |
|
81 | 117 | </activity>
|
82 |
| - <activity android:name=".Dinner_homepage"> |
| 118 | + <activity android:name=".Dinner_homepage" |
| 119 | + android:configChanges="orientation" |
| 120 | + android:screenOrientation="portrait"> |
83 | 121 |
|
84 | 122 | </activity>
|
| 123 | + <activity android:name=".Profile" |
| 124 | + android:configChanges="orientation" |
| 125 | + android:screenOrientation="portrait"/> |
85 | 126 |
|
86 | 127 |
|
87 | 128 | </application>
|
|
0 commit comments