Skip to content

Commit

Permalink
Fix #3240: Hi fi app versoin shadow fix (#3806)
Browse files Browse the repository at this point in the history
* removed view and fragment layout from app_version_fragment

* added view in app_version_activity.xml

* final change

* made suggested changes

* made suggested changes
  • Loading branch information
Pranav-Bobde authored Sep 24, 2021
1 parent 87125aa commit baf7fd2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 10 additions & 0 deletions app/src/main/res/layout/app_version_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
app:titleTextColor="@color/white" />
</com.google.android.material.appbar.AppBarLayout>

<View
android:id="@+id/app_version_shadow_view"
android:layout_width="0dp"
android:layout_height="4dp"
android:layout_gravity="top"
android:background="@drawable/toolbar_drop_shadow"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/app_version_app_bar_layout" />

<FrameLayout
android:id="@+id/app_version_fragment_placeholder"
android:layout_width="match_parent"
Expand Down
12 changes: 0 additions & 12 deletions app/src/main/res/layout/app_version_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
type="org.oppia.android.app.administratorcontrols.appversion.AppVersionViewModel" />
</data>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down Expand Up @@ -61,12 +57,4 @@
app:layout_constraintStart_toEndOf="@id/app_info_image_view"
app:layout_constraintTop_toBottomOf="@id/app_version_text_view" />
</androidx.constraintlayout.widget.ConstraintLayout>

<View
android:id="@+id/app_version_shadow_view"
android:layout_width="match_parent"
android:layout_height="4dp"
android:layout_gravity="top"
android:background="@drawable/toolbar_drop_shadow" />
</FrameLayout>
</layout>

0 comments on commit baf7fd2

Please sign in to comment.