Skip to content
Snippets Groups Projects
Commit 1498f181 authored by PFEFFER Melvil's avatar PFEFFER Melvil
Browse files

Darkened the background image and added polygons

parent 87858c90
No related branches found
No related tags found
1 merge request!1Merging branches into the main
app/src/main/res/drawable/polygon_1.png

3.41 KiB

app/src/main/res/drawable/polygon_2.png

4.84 KiB

app/src/main/res/drawable/polygon_3.png

583 B

app/src/main/res/drawable/polygon_4.png

1.16 KiB

app/src/main/res/drawable/rectangle_5.png

319 B

......@@ -5,10 +5,12 @@
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
tools:context=".LearningActivity">
<ImageView
android:id="@+id/image_"
android:alpha="0.4"
android:id="@+id/image_1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
......
......@@ -7,15 +7,17 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToOutline="true"
android:background="#FFFFFF">
android:background="@color/black">
<ImageView
android:alpha="0.4"
android:id="@+id/image_1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/image_1"/>
<TextView
android:id="@+id/sell_rad"
android:layout_width="wrap_content"
......@@ -32,8 +34,71 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginBottom="30dp"
android:layout_marginBottom="50dp"
android:src="@drawable/image_2"
/>
<ImageView
android:id="@+id/polygon_3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/polygon_3"
android:alpha="0.75"
android:layout_gravity="end|bottom"
/>
<ImageView
android:id="@+id/rectangle_1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start|center_vertical"
android:layout_marginTop="250dp"
android:layout_marginStart="33dp"
android:alpha="0.75"
android:background="@drawable/rectangle_5"
/>
<ImageView
android:id="@+id/rectangle_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:layout_marginTop="167dp"
android:layout_marginEnd="250dp"
android:alpha="0.75"
android:background="@drawable/rectangle_5"
/>
<ImageView
android:id="@+id/rectangle_3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:layout_marginTop="150dp"
android:layout_marginEnd="300dp"
android:alpha="0.75"
android:background="@drawable/rectangle_5"
/>
<ImageView
android:id="@+id/rectangle_4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end|center_vertical"
android:layout_marginTop="75dp"
android:layout_marginEnd="70dp"
android:alpha="0.75"
android:background="@drawable/rectangle_5"
/>
<ImageView
android:id="@+id/polygon_1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/polygon_1"
android:layout_gravity="end|center_vertical"
android:layout_marginBottom="25dp"
android:alpha="0.75"
/>
</FrameLayout>
......@@ -5,10 +5,12 @@
android:id="@+id/photo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
tools:context=".PhotoActivity">
<ImageView
android:id="@+id/image_"
android:alpha="0.4"
android:id="@+id/image_1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
......
......@@ -5,10 +5,12 @@
android:id="@+id/pro"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
tools:context=".ProActivity">
<ImageView
android:id="@+id/image_"
android:alpha="0.4"
android:id="@+id/image_1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
......
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout 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/public_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
tools:context=".PublicActivity">
<ImageView
android:id="@+id/image_"
android:alpha="0.4"
android:id="@+id/image_1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
......@@ -20,16 +20,33 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"/>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
<ImageView
android:id="@+id/polygon_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="#b9d6f2"
app:menu="@menu/bottom_nav_menu"
app:layout_constraintBottom_toBottomOf="parent"
app:labelVisibilityMode="labeled"
android:src="@drawable/polygon_2"
android:alpha="0.75"
android:layout_gravity="start|center_vertical"
android:layout_marginBottom="25dp"
/>
<ImageView
android:id="@+id/polygon_4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/polygon_4"
android:alpha="0.75"
android:layout_gravity="center_horizontal|bottom"
/>
<ImageView
android:id="@+id/image_2"
android:layout_width="146.4dp"
android:layout_height="48.6dp"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginBottom="20dp"
android:src="@drawable/image_2"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
......@@ -5,10 +5,12 @@
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
tools:context=".SettingsActivity">
<ImageView
android:id="@+id/image_"
android:alpha="0.4"
android:id="@+id/image_1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment