Skip to content

Commit

Permalink
BoxInsetLayout for viewpager_info.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
DevEmperor committed Nov 18, 2024
1 parent d916daf commit 71c38b0
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions app/src/main/res/layout/viewpager_info.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
<androidx.wear.widget.BoxInsetLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:id="@+id/viewpager_onboarding_info_tv"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="24dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:lineSpacingExtra="4sp"
android:text="@string/wristassist_welcome_info"
android:textColor="@color/wristassist_purple"
android:textSize="16sp"
android:textStyle="bold|italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
app:layout_boxedEdges="all"/>
</androidx.wear.widget.BoxInsetLayout>

0 comments on commit 71c38b0

Please sign in to comment.