greenfablab

GreenFabLab Android App
Log | Files | Refs

activity_exhibit.xml (2437B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      3     xmlns:app="http://schemas.android.com/apk/res-auto"
      4     xmlns:tools="http://schemas.android.com/tools"
      5     android:id="@+id/relativeLayout"
      6     android:layout_width="match_parent"
      7     android:layout_height="match_parent"
      8     android:orientation="vertical">
      9 
     10     <ImageView
     11         android:id="@+id/imageView"
     12         android:layout_width="wrap_content"
     13         android:layout_height="335dp"
     14         app:layout_constraintStart_toStartOf="parent"
     15         app:layout_constraintTop_toTopOf="parent"
     16         app:srcCompat="@drawable/random" />
     17 
     18     <TextView
     19         android:id="@+id/exhibitname"
     20         android:layout_width="wrap_content"
     21         android:layout_height="wrap_content"
     22         android:text="Name of Exhibit"
     23         app:layout_constraintTop_toBottomOf="@+id/imageView"
     24         app:layout_constraintLeft_toLeftOf="parent"
     25         android:layout_marginTop="20dp"
     26         tools:layout_editor_absoluteX="16dp"
     27         tools:layout_editor_absoluteY="344dp" />
     28 
     29     <TextView
     30         android:id="@+id/descrip"
     31         android:layout_width="match_parent"
     32         android:layout_height="150dp"
     33         android:ems="10"
     34         android:layout_marginTop="20dp"
     35         app:layout_constraintLeft_toLeftOf="parent"
     36         app:layout_constraintTop_toBottomOf="@+id/exhibitname"
     37         android:inputType="textMultiLine"
     38         android:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla consectetur tortor nunc. Pellentesque vel mauris scelerisque, laoreet diam sed, bibendum neque. In sit amet lectus nec augue pulvinar sollicitudin. Curabitur mauris erat, consequat quis tortor id, posuere volutpat libero. Morbi pulvinar eu mauris eu maximus. "
     39         tools:layout_editor_absoluteX="16dp"
     40         tools:layout_editor_absoluteY="385dp" />
     41 
     42     <Button
     43         android:id="@+id/button2"
     44         android:layout_width="wrap_content"
     45         android:layout_height="wrap_content"
     46         android:text="Teleport me"
     47         android:layout_marginTop="20dp"
     48         app:layout_constraintLeft_toLeftOf="parent"
     49         app:layout_constraintRight_toRightOf="parent"
     50         app:layout_constraintTop_toBottomOf="@+id/descrip"
     51         tools:layout_editor_absoluteX="148dp"
     52         tools:layout_editor_absoluteY="595dp" />
     53 
     54 </androidx.constraintlayout.widget.ConstraintLayout>