chore: Use proper fragment container views

This commit is contained in:
Peter Vacho 2024-12-31 00:39:25 +01:00
parent b9d64cc1cf
commit 7dffeda7a6
Signed by: school
GPG key ID: 8CFC3837052871B4
4 changed files with 17 additions and 6 deletions

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" /> <component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
@ -6,4 +7,11 @@
<component name="ProjectType"> <component name="ProjectType">
<option name="id" value="Android" /> <option name="id" value="Android" />
</component> </component>
<component name="VisualizationToolProject">
<option name="state">
<ProjectState>
<option name="scale" value="0.09209597741707834" />
</ProjectState>
</option>
</component>
</project> </project>

View file

@ -9,14 +9,15 @@
tools:context=".activities.ApiUnreachableActivity"> tools:context=".activities.ApiUnreachableActivity">
<!-- Include Server Settings Bar --> <!-- Include Server Settings Bar -->
<fragment <androidx.fragment.app.FragmentContainerView
android:id="@+id/serverSettingsBarFragment" android:id="@+id/serverSettingsBarFragment"
android:name="com.p_vacho.neat_calendar.fragments.ServerSettingsBarFragment" android:name="com.p_vacho.neat_calendar.fragments.ServerSettingsBarFragment"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" /> app:layout_constraintEnd_toEndOf="parent"
tools:layout="@layout/fragment_server_settings_bar" />
<!-- Card for Error Details --> <!-- Card for Error Details -->
<com.google.android.material.card.MaterialCardView <com.google.android.material.card.MaterialCardView

View file

@ -9,14 +9,15 @@
tools:context=".activities.LoginActivity"> tools:context=".activities.LoginActivity">
<!-- Include Server Settings Bar --> <!-- Include Server Settings Bar -->
<fragment <androidx.fragment.app.FragmentContainerView
android:id="@+id/serverSettingsBarFragment" android:id="@+id/serverSettingsBarFragment"
android:name="com.p_vacho.neat_calendar.fragments.ServerSettingsBarFragment" android:name="com.p_vacho.neat_calendar.fragments.ServerSettingsBarFragment"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" /> app:layout_constraintEnd_toEndOf="parent"
tools:layout="@layout/fragment_server_settings_bar" />
<!-- Content Box --> <!-- Content Box -->
<com.google.android.material.card.MaterialCardView <com.google.android.material.card.MaterialCardView

View file

@ -8,14 +8,15 @@
tools:context=".activities.RegisterActivity"> tools:context=".activities.RegisterActivity">
<!-- Include Server Settings Bar --> <!-- Include Server Settings Bar -->
<fragment <androidx.fragment.app.FragmentContainerView
android:id="@+id/serverSettingsBarFragment" android:id="@+id/serverSettingsBarFragment"
android:name="com.p_vacho.neat_calendar.fragments.ServerSettingsBarFragment" android:name="com.p_vacho.neat_calendar.fragments.ServerSettingsBarFragment"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" /> app:layout_constraintEnd_toEndOf="parent"
tools:layout="@layout/fragment_server_settings_bar" />
<!-- Content Box --> <!-- Content Box -->
<com.google.android.material.card.MaterialCardView <com.google.android.material.card.MaterialCardView