activity_dashboard.xml (2598B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <androidx.constraintlayout.widget.ConstraintLayout 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 xmlns:app="http://schemas.android.com/apk/res-auto" 5 android:background="@color/green" 6 android:layout_width="match_parent" 7 android:layout_height="match_parent"> 8 9 <Button 10 android:id="@+id/button4" 11 android:layout_width="0dp" 12 android:layout_height="wrap_content" 13 android:layout_margin="10dp" 14 android:layout_marginTop="92dp" 15 android:text="Impressum" 16 android:layout_weight="1" 17 android:background="@color/white" 18 app:layout_constraintHorizontal_bias="0.504" 19 app:layout_constraintLeft_toLeftOf="parent" 20 app:layout_constraintRight_toRightOf="parent" 21 app:layout_constraintTop_toBottomOf="@+id/button3" /> 22 23 <Button 24 android:id="@+id/exhibitButton" 25 android:layout_width="0dp" 26 android:layout_height="wrap_content" 27 android:layout_margin="10dp" 28 android:text="Exhibitions" 29 android:layout_weight="1" 30 android:background="@color/white" 31 app:layout_constraintLeft_toLeftOf="parent" 32 app:layout_constraintRight_toRightOf="parent" 33 app:layout_constraintTop_toBottomOf="@+id/button" /> 34 35 <Button 36 android:id="@+id/button3" 37 android:layout_width="0dp" 38 android:layout_height="wrap_content" 39 android:layout_margin="10dp" 40 android:text="About HSRW" 41 android:layout_weight="1" 42 android:background="@color/white" 43 app:layout_constraintLeft_toLeftOf="parent" 44 app:layout_constraintRight_toRightOf="parent" 45 app:layout_constraintTop_toBottomOf="@+id/exhibitButton" /> 46 47 <Button 48 android:id="@+id/button" 49 android:layout_width="0dp" 50 android:layout_height="wrap_content" 51 android:layout_margin="10dp" 52 android:text="General Information" 53 android:layout_weight="1" 54 android:background="@color/white" 55 app:layout_constraintLeft_toLeftOf="parent" 56 app:layout_constraintRight_toRightOf="parent" 57 app:layout_constraintTop_toBottomOf="@+id/imageView2" /> 58 59 <ImageView 60 android:id="@+id/imageView2" 61 android:layout_width="wrap_content" 62 android:layout_height="376dp" 63 android:src="@drawable/random" 64 app:layout_constraintLeft_toLeftOf="parent" 65 app:layout_constraintRight_toRightOf="parent" 66 app:layout_constraintTop_toTopOf="parent" /> 67 68 </androidx.constraintlayout.widget.ConstraintLayout>