Skip to content

Commit

Permalink
first fragment layout modified (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailbohra authored Aug 27, 2022
1 parent f2ce262 commit 5451d93
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_baseline_email_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M20,4L4,4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6c0,-1.1 -0.9,-2 -2,-2zM20,8l-8,5 -8,-5L4,6l8,5 8,-5v2z"/>
</vector>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_user.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:backgroundTint="@color/teal_200"
android:backgroundTint="@color/btn_light_blue_color"
android:text="send"
android:textAlignment="center"
android:textColor="#5E35B1"
Expand Down
32 changes: 13 additions & 19 deletions app/src/main/res/layout/fragment_first.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,23 @@

</data>

<FrameLayout
android:layout_width="match_parent"
android:id="@+id/firstFragment"
android:layout_height="match_parent"
tools:context=".FirstFragment">

<!-- TODO: Update blank fragment layout -->
<TextView
<FrameLayout
android:layout_width="match_parent"
android:id="@+id/firstFragment"
android:layout_height="match_parent"
android:text="First Fragment" />
tools:context=".FirstFragment">

<!-- TODO: Update blank fragment layout -->

<androidx.appcompat.widget.AppCompatButton
android:id="@+id/createNotification"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="CREATE NOTIFICATION"
android:layout_gravity="center"
android:textColor="@color/white"
android:padding="8dp"
android:background="@color/cmsblue"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/createNotification"
android:src="@drawable/ic_baseline_email_24"
android:layout_margin="15dp"

</FrameLayout>
android:layout_gravity="end|bottom"/>

</FrameLayout>

</layout>
2 changes: 1 addition & 1 deletion app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_200">#22367F</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
Expand Down

0 comments on commit 5451d93

Please sign in to comment.