diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index a0eaf6e..ce85111 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -13,6 +13,10 @@ android:theme="@style/Theme.Gallery" tools:targetApi="31" android:networkSecurityConfig="@xml/network_security_config"> + diff --git a/app/src/main/java/com/example/gallery/NewPostActivity.java b/app/src/main/java/com/example/gallery/NewPostActivity.java new file mode 100644 index 0000000..d7f3cd5 --- /dev/null +++ b/app/src/main/java/com/example/gallery/NewPostActivity.java @@ -0,0 +1,4 @@ +package com.example.gallery; + +public class NewPostActivity { +} diff --git a/app/src/main/res/drawable/badge_background.xml b/app/src/main/res/drawable/badge_background.xml new file mode 100644 index 0000000..023755c --- /dev/null +++ b/app/src/main/res/drawable/badge_background.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/button_background.xml b/app/src/main/res/drawable/button_background.xml new file mode 100644 index 0000000..db0cdac --- /dev/null +++ b/app/src/main/res/drawable/button_background.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/card_background.xml b/app/src/main/res/drawable/card_background.xml new file mode 100644 index 0000000..a4389c2 --- /dev/null +++ b/app/src/main/res/drawable/card_background.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/edit_text_background.xml b/app/src/main/res/drawable/edit_text_background.xml new file mode 100644 index 0000000..822b6f5 --- /dev/null +++ b/app/src/main/res/drawable/edit_text_background.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_profile.xml b/app/src/main/res/drawable/ic_profile.xml new file mode 100644 index 0000000..6e03725 --- /dev/null +++ b/app/src/main/res/drawable/ic_profile.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/image_placeholder_background.xml b/app/src/main/res/drawable/image_placeholder_background.xml new file mode 100644 index 0000000..dfeed51 --- /dev/null +++ b/app/src/main/res/drawable/image_placeholder_background.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/profile_circle_background.xml b/app/src/main/res/drawable/profile_circle_background.xml new file mode 100644 index 0000000..727f646 --- /dev/null +++ b/app/src/main/res/drawable/profile_circle_background.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/profile_circle_background_small.xml b/app/src/main/res/drawable/profile_circle_background_small.xml new file mode 100644 index 0000000..974b847 --- /dev/null +++ b/app/src/main/res/drawable/profile_circle_background_small.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml index 4fcf6f2..5f796f2 100644 --- a/app/src/main/res/layout/activity_login.xml +++ b/app/src/main/res/layout/activity_login.xml @@ -5,44 +5,107 @@ android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@color/bgColor" tools:context=".LoginActivity"> + android:layout_width="0dp" + android:layout_height="wrap_content" + android:orientation="vertical" + android:padding="32dp" + android:background="@drawable/card_background" + android:elevation="8dp" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintWidth_percent="0.85"> + + + + + android:textSize="16sp" + android:textStyle="bold" + android:textColor="#03396c" + android:layout_marginBottom="8dp"/> + android:layout_width="match_parent" + android:layout_height="56dp" + android:hint="Username" + android:textColorHint="#6497b1" + android:textColor="#011f4b" + android:background="@drawable/edit_text_background" + android:padding="16dp" + android:layout_marginBottom="24dp" + android:inputType="text" + android:maxLines="1"/> + + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Password" + android:textSize="16sp" + android:textStyle="bold" + android:textColor="#03396c" + android:layout_marginBottom="8dp"/> + android:layout_width="match_parent" + android:layout_height="56dp" + android:hint="Password" + android:textColorHint="#6497b1" + android:textColor="#011f4b" + android:background="@drawable/edit_text_background" + android:padding="16dp" + android:layout_marginBottom="32dp" + android:inputType="textPassword" + android:maxLines="1"/> +