Commit 99b6dd3d authored by 9731301's avatar 9731301

add changes in activity_main.xml

parent 715f057d
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13,17h-2v-6h2v6zM13,9h-2L11,7h2v2z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M3,18h12v-2L3,16v2zM3,6v2h18L21,6L3,6zM3,13h18v-2L3,11v2z"/>
</vector>
...@@ -40,12 +40,12 @@ ...@@ -40,12 +40,12 @@
<FrameLayout <FrameLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"> android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView" android:id="@+id/recyclerView"
android:layout_width="409dp" android:layout_width="409dp"
android:layout_height="601dp" android:layout_height="match_parent"
android:background="#4883B5DD" android:background="#4883B5DD"
tools:layout_editor_absoluteX="1dp" tools:layout_editor_absoluteX="1dp"
tools:layout_editor_absoluteY="1dp" /> tools:layout_editor_absoluteY="1dp" />
......
...@@ -32,10 +32,10 @@ ...@@ -32,10 +32,10 @@
android:layout_below="@+id/toolBarId" android:layout_below="@+id/toolBarId"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_marginTop="-4dp" android:layout_marginTop="-6dp"
android:layout_marginEnd="-2dp" android:layout_marginEnd="-2dp"
android:layout_marginRight="-2dp" android:layout_marginRight="-2dp"
android:background="#77A9D1CD"> android:background="#4883B5DD">
<ImageView <ImageView
android:id="@+id/imageView" android:id="@+id/imageView"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content" android:layout_width="260dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/background" android:background="@drawable/background"
android:orientation="vertical"> android:orientation="vertical">
...@@ -15,83 +15,137 @@ ...@@ -15,83 +15,137 @@
app:srcCompat="@drawable/index" /> app:srcCompat="@drawable/index" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="40dp" android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal"> android:orientation="horizontal">
<LinearLayout
android:id="@+id/imagesLinearLayout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView <ImageView
android:id="@+id/imageView2" android:id="@+id/imageView2"
android:layout_width="0dp" android:layout_width="22dp"
android:layout_height="match_parent" android:layout_height="22dp"
android:layout_marginLeft="21dp" android:layout_marginLeft="18dp"
android:layout_weight="1" android:layout_marginTop="12dp"
android:src="@drawable/allnotes" />
android:src="@drawable/notes" />
<ImageView
android:id="@+id/imageView3"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginLeft="18dp"
android:src="@drawable/black_star"
android:layout_marginTop="15dp"
/>
<ImageView
android:id="@+id/imageView4"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginLeft="18dp"
android:src="@drawable/setting"
android:layout_marginTop="15dp"
/>
<ImageView
android:id="@+id/calenderImg"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginLeft="18dp"
android:layout_marginTop="15dp"
android:src="@drawable/calender" />
<ImageView
android:id="@+id/infoImg"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginLeft="18dp"
android:src="@drawable/information"
android:layout_marginTop="15dp"/>
<TextView
android:id="@+id/allNotesTxt"
android:layout_width="75dp"
android:layout_height="match_parent"
android:layout_weight="5"
android:text="@string/all_notes"
android:gravity="center_vertical"
android:layout_marginLeft="20dp"
android:textSize="20dp" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="40dp" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="vertical">
<ImageView <TextView
android:id="@+id/imageView3" android:id="@+id/allNotesTxt"
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginLeft="17dp" android:layout_marginLeft="20dp"
android:layout_weight="1" android:layout_weight="5"
android:src="@drawable/black_star" /> android:gravity="center_vertical"
android:text="@string/all_notes"
android:textSize="20dp"
android:layout_marginTop="10dp"
/>
<TextView <TextView
android:id="@+id/achievedTxt" android:id="@+id/achievedTxt"
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:layout_weight="6" android:layout_weight="6"
android:text="@string/achieved"
android:gravity="center_vertical" android:gravity="center_vertical"
android:layout_marginLeft="15dp" android:text="@string/achieved"
android:textSize="20dp" /> android:textSize="20dp"
android:layout_marginTop="10dp"
/>
</LinearLayout>
<LinearLayout <TextView
android:layout_width="match_parent" android:id="@+id/settingTxt"
android:layout_height="40dp" android:layout_width="wrap_content"
android:orientation="horizontal"> android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:gravity="center_vertical"
android:text="@string/setting"
android:textSize="20dp"
android:layout_marginTop="10dp"
/>
<ImageView <TextView
android:id="@+id/imageView4" android:id="@+id/calenderTxt"
android:layout_width="0dp" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginLeft="20dp" android:layout_marginLeft="20dp"
android:layout_weight="1" android:gravity="center_vertical"
android:src="@drawable/setting" /> android:text="@string/calender"
android:textSize="20dp"
android:layout_marginTop="10dp"
/>
<TextView <TextView
android:id="@+id/settingTxt" android:id="@+id/infoTxt"
android:layout_width="0dp" android:layout_width="193dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="7" android:layout_marginLeft="20dp"
android:layout_marginTop="10dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/setting" android:text="@string/information"
android:layout_marginLeft="17dp"
android:textSize="20dp" /> android:textSize="20dp" />
</LinearLayout> </LinearLayout>
</LinearLayout>
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="40dp" android:layout_height="40dp"
android:background="#32648C" android:background="@drawable/all_notes_bg"
android:orientation="horizontal"> android:orientation="horizontal">
......
...@@ -6,4 +6,7 @@ ...@@ -6,4 +6,7 @@
<!-- TODO: Remove or change this placeholder text --> <!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string> <string name="hello_blank_fragment">Hello blank fragment</string>
<string name="title">title</string> <string name="title">title</string>
<string name="calender">calender</string>
<string name="information">information</string>
<string name="information">information</string>
</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