12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout 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"
- android:id="@+id/Plant_info"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".MainActivity">
-
- <TextView
- android:id="@+id/author"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/author"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.506"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/year"
- app:layout_constraintVertical_bias="0.239" />
-
- <TextView
- android:id="@+id/sci_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/scientific_name"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.507"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/plant_name"
- app:layout_constraintVertical_bias="0.155" />
-
- <TextView
- android:id="@+id/plant_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/plant_name"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.511"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.57" />
-
- <TextView
- android:id="@+id/year"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/year"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.506"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/sci_name"
- app:layout_constraintVertical_bias="0.186" />
-
- <ImageView
- android:id="@+id/plantview"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:contentDescription="@string/plant_display"
- app:layout_constraintBottom_toTopOf="@+id/plant_name"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.498"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_launcher_foreground" />
- </androidx.constraintlayout.widget.ConstraintLayout>
|