diff options
Diffstat (limited to 'ClientApp/app/src/main/res/layout/activity_main.xml')
-rw-r--r-- | ClientApp/app/src/main/res/layout/activity_main.xml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/ClientApp/app/src/main/res/layout/activity_main.xml b/ClientApp/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..b69623b --- /dev/null +++ b/ClientApp/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout 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/rl_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:context=".MainActivity" + android:background="@color/black"> + + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Random Image" + android:textColor="@color/white" + android:textSize="54px" + android:layout_centerHorizontal="true" + /> + + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/randomImage" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentEnd="true" + android:layout_alignParentBottom="true" + android:layout_margin="26dp" + android:backgroundTint="#FFFFFF" + android:clickable="true" + android:focusable="true" + android:tint="#FFFFFF" + app:rippleColor="#FFFFFF" + app:srcCompat="@android:drawable/stat_notify_sync" /> + + + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/addImage" + android:layout_width="90dp" + android:layout_height="91dp" + android:layout_alignParentStart="true" + android:layout_alignParentBottom="true" + android:layout_margin="26dp" + android:backgroundTint="#FFFFFF" + android:clickable="true" + android:focusable="true" + android:tint="#FFFFFF" + app:rippleColor="#FFFFFF" + app:srcCompat="@android:drawable/ic_input_add" /> + + <ImageView + android:id="@+id/randomImageView" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_centerInParent="true" + android:layout_marginStart="0dp" + android:layout_marginTop="0dp" + android:layout_marginEnd="0dp" + android:layout_marginBottom="0dp" + android:scaleType="fitCenter" /> + +</RelativeLayout>
\ No newline at end of file |