feat: enable landscape mode on home page and search apps

This commit is contained in:
Jean-Nicolas 2024-08-31 21:26:33 +02:00
parent ca53aaa8cb
commit d157e06365
No known key found for this signature in database
GPG key ID: FBD5D1D53D803C46
2 changed files with 5 additions and 8 deletions

View file

@ -21,9 +21,7 @@
android:exported="true"
android:excludeFromRecents="true"
android:clearTaskOnLaunch="true"
android:launchMode="singleTask"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity">
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
@ -36,9 +34,7 @@
tools:ignore="LockedOrientationActivity">
</activity>
<activity android:name=".list.ListActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize"
tools:ignore="LockedOrientationActivity">
android:windowSoftInputMode="adjustResize">
</activity>
<activity android:name=".settings.SettingsActivity"
android:exported="true"

View file

@ -20,7 +20,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.45" />
app:layout_constraintVertical_bias="0.47" />
<TextView
android:id="@+id/home_lower_view"
@ -32,6 +32,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toBottomOf="@+id/home_upper_view"
app:layout_constraintVertical_bias="0.0" />
</androidx.constraintlayout.widget.ConstraintLayout>