Skip to content

Commit

Permalink
Merge pull request #6 from AdevintaSpain/fix-alignment
Browse files Browse the repository at this point in the history
Fix overlay alignment
  • Loading branch information
alorma authored Dec 2, 2022
2 parents 25c6268 + a14bc43 commit 9e62599
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal class TagEntryItemViewHolder(binding: TaggingViewItemBinding) : ViewHol
companion object {
fun build(parent: ViewGroup): TagEntryItemViewHolder {
val inflater = LayoutInflater.from(parent.context)
val binding = TaggingViewItemBinding.inflate(inflater)
val binding = TaggingViewItemBinding.inflate(inflater, parent, false)
return TagEntryItemViewHolder(binding)
}
}
Expand Down
7 changes: 4 additions & 3 deletions taggingviewer/src/main/res/layout/tagging_view_item.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="right"
>

<LinearLayout
Expand Down
1 change: 0 additions & 1 deletion taggingviewer/src/main/res/layout/tagging_view_wrapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<com.adevinta.android.taggingviewer.internal.view.TaggingOverlayListView
android:id="@+id/tagging_viewer_tags_list"
android:layout_width="match_parent"
android:layout_gravity="end"
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:paddingTop="8dp"
Expand Down

0 comments on commit 9e62599

Please sign in to comment.