Skip to content

Instantly share code, notes, and snippets.

@guuilp
Last active June 28, 2018 02:08
Show Gist options
  • Save guuilp/0db72feddac7d3f3df93ea7de767eccc to your computer and use it in GitHub Desktop.
Save guuilp/0db72feddac7d3f3df93ea7de767eccc to your computer and use it in GitHub Desktop.
Constraint Layout DOJO - Views without constraints (STEP 3)
<android.support.constraint.Group
android:id="@+id/group_retweet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:constraint_referenced_ids="retweet_top, retweet_user"/>
<ImageView
android:id="@+id/retweet_top"
android:layout_width="15dp"
android:layout_height="15dp"
android:src="@drawable/ic_retweet"
android:tint="@color/gray"/>
<TextView
android:id="@+id/retweet_user"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Nicolas Roard retweetou"
android:textColor="@color/gray"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment