Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created August 11, 2018 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jezinka/ef23f1a5072288726944abe5b79d7c40 to your computer and use it in GitHub Desktop.
Save jezinka/ef23f1a5072288726944abe5b79d7c40 to your computer and use it in GitHub Desktop.
<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