Skip to content

Instantly share code, notes, and snippets.

@thoinv
Created May 16, 2021 16:26
Show Gist options
  • Save thoinv/50f3fececa136266dd18af30351e0181 to your computer and use it in GitHub Desktop.
Save thoinv/50f3fececa136266dd18af30351e0181 to your computer and use it in GitHub Desktop.
[How can you use tools in android layout to replace a merge item for designer] #android #ui
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout"
tools:showIn="@layout/fragment_layout">
...
</merge>
https://stackoverflow.com/questions/57070747/how-can-you-use-tools-in-android-layout-to-replace-a-merge-item-for-designer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment