Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
My notepad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9731301
My notepad
Commits
99b6dd3d
Commit
99b6dd3d
authored
Sep 24, 2020
by
9731301
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add changes in activity_main.xml
parent
715f057d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
155 additions
and
78 deletions
+155
-78
calender.xml
app/src/main/res/drawable-v24/calender.xml
+0
-0
information.xml
app/src/main/res/drawable/information.xml
+10
-0
notes.xml
app/src/main/res/drawable/notes.xml
+10
-0
activity_all_notes.xml
app/src/main/res/layout/activity_all_notes.xml
+2
-2
activity_main.xml
app/src/main/res/layout/activity_main.xml
+2
-2
custom_menu.xml
app/src/main/res/layout/custom_menu.xml
+127
-73
custom_toolbar_options.xml
app/src/main/res/layout/custom_toolbar_options.xml
+1
-1
strings.xml
app/src/main/res/values/strings.xml
+3
-0
No files found.
app/src/main/res/drawable-v24/
allnotes
.xml
→
app/src/main/res/drawable-v24/
calender
.xml
View file @
99b6dd3d
File moved
app/src/main/res/drawable/information.xml
0 → 100644
View file @
99b6dd3d
<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>
app/src/main/res/drawable/notes.xml
0 → 100644
View file @
99b6dd3d
<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>
app/src/main/res/layout/activity_all_notes.xml
View file @
99b6dd3d
...
@@ -40,12 +40,12 @@
...
@@ -40,12 +40,12 @@
<FrameLayout
<FrameLayout
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"
wrap_cont
ent"
>
android:layout_height=
"
match_par
ent"
>
<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"
/>
...
...
app/src/main/res/layout/activity_main.xml
View file @
99b6dd3d
...
@@ -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=
"-
4
dp"
android:layout_marginTop=
"-
6
dp"
android:layout_marginEnd=
"-2dp"
android:layout_marginEnd=
"-2dp"
android:layout_marginRight=
"-2dp"
android:layout_marginRight=
"-2dp"
android:background=
"#
77A9D1C
D"
>
android:background=
"#
4883B5D
D"
>
<ImageView
<ImageView
android:id=
"@+id/imageView"
android:id=
"@+id/imageView"
...
...
app/src/main/res/layout/custom_menu.xml
View file @
99b6dd3d
...
@@ -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
<ImageView
android:id=
"@+id/imagesLinearLayout"
android:id=
"@+id/imageView2"
android:layout_width=
"wrap_content"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"21dp"
android:layout_weight=
"1"
android:src=
"@drawable/allnotes"
/>
<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
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:orientation=
"horizontal"
>
<ImageView
android:id=
"@+id/imageView3"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"17dp"
android:orientation=
"vertical"
>
android:layout_weight=
"1"
android:src=
"@drawable/black_star"
/>
<TextView
android:id=
"@+id/achievedTxt"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"6"
android:text=
"@string/achieved"
android:gravity=
"center_vertical"
android:layout_marginLeft=
"15dp"
android:textSize=
"20dp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:orientation=
"horizontal"
>
<ImageView
<ImageView
android:id=
"@+id/imageView2"
android:id=
"@+id/imageView4"
android:layout_width=
"22dp"
android:layout_width=
"0dp"
android:layout_height=
"22dp"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"18dp"
android:layout_marginLeft=
"20dp"
android:layout_marginTop=
"12dp"
android:layout_weight=
"1"
android:src=
"@drawable/setting"
/>
android:src=
"@drawable/notes"
/>
<TextView
android:id=
"@+id/settingTxt"
<ImageView
android:layout_width=
"0dp"
android:id=
"@+id/imageView3"
android:layout_height=
"match_parent"
android:layout_width=
"22dp"
android:layout_weight=
"7"
android:layout_height=
"22dp"
android:gravity=
"center_vertical"
android:layout_marginLeft=
"18dp"
android:text=
"@string/setting"
android:src=
"@drawable/black_star"
android:layout_marginLeft=
"17dp"
android:layout_marginTop=
"15dp"
android:textSize=
"20dp"
/>
/>
<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"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/allNotesTxt"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"20dp"
android:layout_weight=
"5"
android:gravity=
"center_vertical"
android:text=
"@string/all_notes"
android:textSize=
"20dp"
android:layout_marginTop=
"10dp"
/>
<TextView
android:id=
"@+id/achievedTxt"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"20dp"
android:layout_weight=
"6"
android:gravity=
"center_vertical"
android:text=
"@string/achieved"
android:textSize=
"20dp"
android:layout_marginTop=
"10dp"
/>
<TextView
android:id=
"@+id/settingTxt"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"20dp"
android:gravity=
"center_vertical"
android:text=
"@string/setting"
android:textSize=
"20dp"
android:layout_marginTop=
"10dp"
/>
<TextView
android:id=
"@+id/calenderTxt"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"20dp"
android:gravity=
"center_vertical"
android:text=
"@string/calender"
android:textSize=
"20dp"
android:layout_marginTop=
"10dp"
/>
<TextView
android:id=
"@+id/infoTxt"
android:layout_width=
"193dp"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"20dp"
android:layout_marginTop=
"10dp"
android:gravity=
"center_vertical"
android:text=
"@string/information"
android:textSize=
"20dp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/custom_toolbar_options.xml
View file @
99b6dd3d
...
@@ -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"
>
...
...
app/src/main/res/values/strings.xml
View file @
99b6dd3d
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment