Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/recycler_view_item.xml Secret

Created Aug 11, 2018
Embed
What would you like to do?
<ImageView
android:id="@+id/temperature_icon"
android:layout_width="@dimen/image_width"
android:layout_height="@dimen/item_height"
android:layout_marginStart="@dimen/margin_size"
android:layout_marginTop="@dimen/margin_size"
android:contentDescription="@string/temperature_icon"
android:src="@drawable/ic_low_temperature"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/label_tv" />
<TextView
android:id="@+id/temperature_tv"
android:layout_width="0dp"
android:layout_height="@dimen/item_height"
android:layout_marginEnd="@dimen/margin_size"
android:layout_marginStart="@dimen/margin_size"
android:layout_marginTop="@dimen/margin_size"
android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline3"
app:layout_constraintTop_toBottomOf="@+id/label_tv" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment