Commit 2dc624ca authored by Kavindu Randika's avatar Kavindu Randika

final version of issue 001-init-app-architecture

parent 71c77d70
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<component name="DesignSurface"> <component name="DesignSurface">
<option name="filePathToZoomLevelMap"> <option name="filePathToZoomLevelMap">
<map> <map>
<entry key="..\:/Users/wishwa/StudioProjects/Skidndiseaseapp/app/src/main/res/drawable/tab_color.xml" value="0.1125" />
<entry key="..\:/Users/wishwa/StudioProjects/Skidndiseaseapp/app/src/main/res/layout/activity_main.xml" value="0.19270833333333334" /> <entry key="..\:/Users/wishwa/StudioProjects/Skidndiseaseapp/app/src/main/res/layout/activity_main.xml" value="0.19270833333333334" />
<entry key="..\:/Users/wishwa/StudioProjects/Skidndiseaseapp/app/src/main/res/layout/fragment_camera.xml" value="0.1" /> <entry key="..\:/Users/wishwa/StudioProjects/Skidndiseaseapp/app/src/main/res/layout/fragment_camera.xml" value="0.1" />
<entry key="..\:/Users/wishwa/StudioProjects/Skidndiseaseapp/app/src/main/res/layout/fragment_chat.xml" value="0.12771739130434784" /> <entry key="..\:/Users/wishwa/StudioProjects/Skidndiseaseapp/app/src/main/res/layout/fragment_chat.xml" value="0.12771739130434784" />
......
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@android:color/black" android:state_checked="true"/>
<item android:color="@color/navBarColorSelected"/>
</selector>
\ No newline at end of file
...@@ -8,16 +8,18 @@ ...@@ -8,16 +8,18 @@
tools:context=".MainActivity"> tools:context=".MainActivity">
<FrameLayout <FrameLayout
android:id="@+id/container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent" />
android:id="@+id/container"/>
<com.google.android.material.bottomnavigation.BottomNavigationView <com.google.android.material.bottomnavigation.BottomNavigationView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/bottomNav" android:id="@+id/bottomNav"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
app:itemIconTint="@drawable/tab_color"
app:itemTextColor="@drawable/tab_color"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:background="?android:attr/windowBackground" android:background="@color/navBarColor"
app:menu="@menu/menu"/> app:menu="@menu/menu"/>
</RelativeLayout> </RelativeLayout>
\ No newline at end of file
...@@ -8,8 +8,13 @@ ...@@ -8,8 +8,13 @@
<!-- TODO: Update blank fragment layout --> <!-- TODO: Update blank fragment layout -->
<TextView <TextView
android:layout_width="match_parent" android:textSize="30dp"
android:layout_height="match_parent" android:textColor="@color/white"
android:text="@string/hello_blank_fragment" /> android:layout_width="wrap_content"
android:layout_centerInParent="true"
android:textAlignment="center"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Open Camera" />
</FrameLayout> </FrameLayout>
\ No newline at end of file
...@@ -8,8 +8,13 @@ ...@@ -8,8 +8,13 @@
<!-- TODO: Update blank fragment layout --> <!-- TODO: Update blank fragment layout -->
<TextView <TextView
android:layout_width="match_parent" android:textSize="30dp"
android:layout_height="match_parent" android:textColor="@color/white"
android:text="@string/hello_blank_fragment" /> android:layout_width="wrap_content"
android:layout_centerInParent="true"
android:textAlignment="center"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Chat Now" />
</FrameLayout> </FrameLayout>
\ No newline at end of file
...@@ -8,8 +8,13 @@ ...@@ -8,8 +8,13 @@
<!-- TODO: Update blank fragment layout --> <!-- TODO: Update blank fragment layout -->
<TextView <TextView
android:layout_width="match_parent" android:textSize="30dp"
android:layout_height="match_parent" android:textColor="@color/white"
android:text="@string/hello_blank_fragment" /> android:layout_width="wrap_content"
android:layout_centerInParent="true"
android:textAlignment="center"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Channel Now" />
</FrameLayout> </FrameLayout>
\ No newline at end of file
...@@ -8,8 +8,13 @@ ...@@ -8,8 +8,13 @@
<!-- TODO: Update blank fragment layout --> <!-- TODO: Update blank fragment layout -->
<TextView <TextView
android:layout_width="match_parent" android:textSize="30dp"
android:layout_height="match_parent" android:textColor="@color/white"
android:text="@string/hello_blank_fragment" /> android:layout_width="wrap_content"
android:layout_centerInParent="true"
android:textAlignment="center"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Search Now" />
</FrameLayout> </FrameLayout>
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"> <menu xmlns:android="http://schemas.android.com/apk/res/android">
<item <item
android:id="@+id/camera" android:id="@+id/camera"
android:title="Home" android:title="Camera"
android:icon="@drawable/camera_icon"/> android:icon="@drawable/camera_icon"/>
<item <item
android:id="@+id/search" android:id="@+id/search"
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
android:icon="@drawable/ic_search"/> android:icon="@drawable/ic_search"/>
<item <item
android:id="@+id/chat" android:id="@+id/chat"
android:title="Location" android:title="Chat"
android:icon="@drawable/chat_icon"/> android:icon="@drawable/chat_icon"/>
<item <item
android:id="@+id/medec" android:id="@+id/medec"
android:title="Location" android:title="Channel"
android:icon="@drawable/ic_medic"/> android:icon="@drawable/ic_medic"/>
</menu> </menu>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="purple_200">#FFBB86FC</color> <color name="purple_200">#F9CC9F</color>
<color name="purple_500">#FF6200EE</color> <color name="purple_500">#F9CC9F</color>
<color name="purple_700">#FF3700B3</color> <color name="purple_700">#F9CC9F</color>
<color name="teal_200">#FF03DAC5</color> <color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color> <color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color> <color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color> <color name="white">#FFFFFFFF</color>
<color name="navBarColor">#F9CC9F</color>
<color name="navBarColorSelected">#EB8560</color>
</resources> </resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment