Skip to content

Commit

Permalink
Merge pull request #79 from team-JMT/fix/prohibit_dark_mode_landscape
Browse files Browse the repository at this point in the history
다크 모드 및 가로 모드 금지
  • Loading branch information
dogdduddy authored Sep 25, 2023
2 parents 6ccf415 + 7d35ad7 commit 9429ffe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.gdsc.jmt">

<application
Expand All @@ -16,6 +15,7 @@
<activity
android:name="org.gdsc.presentation.login.SplashActivity"
android:windowSoftInputMode="adjustResize"
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
4 changes: 3 additions & 1 deletion presentation/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.gdsc.presentation">

<uses-permission android:name="android.permission.INTERNET" />
Expand All @@ -14,13 +13,16 @@
<application>
<activity android:name=".login.LoginActivity"
android:windowSoftInputMode="adjustResize"
android:screenOrientation="portrait"
android:exported="true" />
<activity
android:name=".view.MainActivity"
android:windowSoftInputMode="adjustResize"
android:screenOrientation="portrait"
android:exported="false" />
<activity
android:name="org.gdsc.presentation.view.WebViewActivity"
android:screenOrientation="portrait"
android:exported="false" />

<meta-data
Expand Down
4 changes: 2 additions & 2 deletions presentation/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<resources>
<!-- Base application theme. -->
<style name="Theme.JMT" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<style name="Theme.JMT" parent="Theme.MaterialComponents.Light.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
Expand Down

0 comments on commit 9429ffe

Please sign in to comment.