Skip to content

Commit

Permalink
Merge pull request #3919 from bimalkaf/bugfix/3875
Browse files Browse the repository at this point in the history
Bugfix/3875
  • Loading branch information
VishalNehra authored Sep 7, 2023
2 parents 9348d3e + 1371fbd commit 9f5ba39
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions app/src/main/res/layout/snackbar_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
app:layout_constraintTop_toTopOf="parent"
android:descendantFocusability="afterDescendants">

<androidx.constraintlayout.widget.ConstraintLayout
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="afterDescendants">

<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/snackBarTextTV"
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:layout_marginStart="16dp"
Expand All @@ -56,11 +56,8 @@
android:padding="8dp"
android:textColor="@color/vectors_white"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/snackBarCancelButton"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
android:layout_centerVertical="true"
android:layout_toStartOf="@id/snackBarCancelButton" />

<androidx.appcompat.widget.AppCompatButton
android:id="@+id/snackBarCancelButton"
Expand All @@ -73,9 +70,7 @@
android:textAllCaps="true"
android:textColor="@color/vectors_white"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/snackBarActionButton"
app:layout_constraintTop_toTopOf="parent"
android:layout_toStartOf="@id/snackBarActionButton"
android:focusable="true"
android:nextFocusRight="@id/snackBarActionButton"
android:background="@drawable/ripple_focusable"
Expand All @@ -91,15 +86,13 @@
android:textAllCaps="true"
android:textColor="@color/vectors_white"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_alignParentEnd="true"
android:focusable="true"
android:nextFocusLeft="@id/snackBarCancelButton"
android:background="@drawable/ripple_focusable"
/>

</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 9f5ba39

Please sign in to comment.