Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
intern-amin-qms
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
Amin
intern-amin-qms
Commits
2bb31010
Commit
2bb31010
authored
Oct 21, 2025
by
Amin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create issue front-ui
parent
139e5ead
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
464 additions
and
2 deletions
+464
-2
deviceManager.xml
.idea/deviceManager.xml
+14
-0
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+3
-0
Issues.java
app/src/main/java/com/example/qms/Issues.java
+25
-0
MainActivity.java
app/src/main/java/com/example/qms/MainActivity.java
+8
-1
card_border_issue.xml
app/src/main/res/drawable/card_border_issue.xml
+19
-0
check_list.png
app/src/main/res/drawable/check_list.png
+0
-0
filter.png
app/src/main/res/drawable/filter.png
+0
-0
profile_tick.png
app/src/main/res/drawable/profile_tick.png
+0
-0
round_grey.png
app/src/main/res/drawable/round_grey.png
+0
-0
search_grey.png
app/src/main/res/drawable/search_grey.png
+0
-0
activity_issues.xml
app/src/main/res/layout/activity_issues.xml
+388
-0
activity_main.xml
app/src/main/res/layout/activity_main.xml
+1
-0
activity_transaction_details.xml
app/src/main/res/layout/activity_transaction_details.xml
+1
-1
colors.xml
app/src/main/res/values/colors.xml
+5
-0
No files found.
.idea/deviceManager.xml
0 → 100644
View file @
2bb31010
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"DeviceTable"
>
<option
name=
"columnSorters"
>
<list>
<ColumnSorterState>
<option
name=
"column"
value=
"Name"
/>
<option
name=
"order"
value=
"ASCENDING"
/>
</ColumnSorterState>
</list>
</option>
</component>
</project>
\ No newline at end of file
app/src/main/AndroidManifest.xml
View file @
2bb31010
...
...
@@ -12,6 +12,9 @@
android:supportsRtl=
"true"
android:theme=
"@style/Theme.Qms"
>
<activity
android:name=
".Issues"
android:exported=
"false"
/>
<activity
android:name=
".TransactionDetails"
android:exported=
"false"
/>
<activity
...
...
app/src/main/java/com/example/qms/Issues.java
0 → 100644
View file @
2bb31010
package
com
.
example
.
qms
;
import
android.os.Bundle
;
import
androidx.activity.EdgeToEdge
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.core.graphics.Insets
;
import
androidx.core.view.ViewCompat
;
import
androidx.core.view.WindowInsetsCompat
;
public
class
Issues
extends
AppCompatActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
EdgeToEdge
.
enable
(
this
);
setContentView
(
R
.
layout
.
activity_issues
);
ViewCompat
.
setOnApplyWindowInsetsListener
(
findViewById
(
R
.
id
.
main
),
(
v
,
insets
)
->
{
Insets
systemBars
=
insets
.
getInsets
(
WindowInsetsCompat
.
Type
.
systemBars
());
v
.
setPadding
(
systemBars
.
left
,
systemBars
.
top
,
systemBars
.
right
,
systemBars
.
bottom
);
return
insets
;
});
}
}
\ No newline at end of file
app/src/main/java/com/example/qms/MainActivity.java
View file @
2bb31010
...
...
@@ -16,7 +16,7 @@ public class MainActivity extends AppCompatActivity {
private
DrawerLayout
drawerLayout
;
private
LinearLayout
syncNav
,
accessItemBottomNav
;
private
LinearLayout
syncNav
,
accessItemBottomNav
,
addIssueBottomNav
;
@Override
...
...
@@ -37,6 +37,8 @@ public class MainActivity extends AppCompatActivity {
drawerLayout
=
findViewById
(
R
.
id
.
drawerLayout
);
syncNav
=
findViewById
(
R
.
id
.
sync_nav
);
accessItemBottomNav
=
findViewById
(
R
.
id
.
access_item_bottom_nav
);
addIssueBottomNav
=
findViewById
(
R
.
id
.
add_issue_bottom_nav
);
// Handle hamburger click
...
...
@@ -63,5 +65,10 @@ public class MainActivity extends AppCompatActivity {
Intent
intent
=
new
Intent
(
MainActivity
.
this
,
AccessItem
.
class
);
startActivity
(
intent
);
});
addIssueBottomNav
.
setOnClickListener
(
v
->
{
Intent
intent
=
new
Intent
(
MainActivity
.
this
,
Issues
.
class
);
startActivity
(
intent
);
});
}
}
app/src/main/res/drawable/card_border_issue.xml
0 → 100644
View file @
2bb31010
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<!-- This is the stroke you want to define -->
<stroke
android:width=
"1dp"
android:color=
"@color/white"
/>
<!-- Optional, round your corners -->
<corners
android:bottomLeftRadius=
"21dp"
android:topLeftRadius=
"21dp"
android:bottomRightRadius=
"21dp"
android:topRightRadius=
"21dp"
/>
<!-- Optional, fill the rest of your background with a color or gradient, use transparent if you only want the border to be displayed-->
<gradient
android:startColor=
"@android:color/white"
android:endColor=
"@android:color/white"
android:angle=
"90"
/>
</shape>
\ No newline at end of file
app/src/main/res/drawable/check_list.png
0 → 100644
View file @
2bb31010
587 Bytes
app/src/main/res/drawable/filter.png
0 → 100644
View file @
2bb31010
559 Bytes
app/src/main/res/drawable/profile_tick.png
0 → 100644
View file @
2bb31010
419 Bytes
app/src/main/res/drawable/round_grey.png
0 → 100644
View file @
2bb31010
774 Bytes
app/src/main/res/drawable/search_grey.png
0 → 100644
View file @
2bb31010
1017 Bytes
app/src/main/res/layout/activity_issues.xml
0 → 100644
View file @
2bb31010
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/main"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".Issues"
>
<LinearLayout
android:id=
"@+id/top_nav"
android:layout_width=
"match_parent"
android:layout_height=
"117dp"
android:background=
"@color/primary"
android:orientation=
"vertical"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<View
android:layout_width=
"match_parent"
android:layout_height=
"59dp"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"59dp"
>
<ImageButton
android:id=
"@+id/backButton"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginStart=
"16dp"
android:background=
"@null"
android:src=
"@drawable/arrow_left"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/titleText"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Issues"
android:textColor=
"@color/white"
android:textSize=
"20sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<LinearLayout
android:layout_width=
"100dp"
android:layout_height=
"50dp"
android:layout_marginEnd=
"16dp"
android:gravity=
"center"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<ImageView
android:id=
"@+id/withdraw_issue_icon"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginEnd=
"20dp"
android:src=
"@drawable/check_list"
/>
<ImageView
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:src=
"@drawable/profile_tick"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
<LinearLayout
android:id=
"@+id/mid_bar"
android:layout_width=
"match_parent"
android:layout_height=
"153dp"
android:orientation=
"vertical"
android:paddingHorizontal=
"21dp"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:background=
"@drawable/background_border"
android:orientation=
"horizontal"
android:padding=
"15dp"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"10dp"
android:text=
"Filter By: "
android:textColor=
"@color/black"
android:textSize=
"19sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"All"
android:textColor=
"@color/black"
android:textSize=
"19sp"
android:textStyle=
"bold"
/>
<ImageButton
android:layout_width=
"27dp"
android:layout_height=
"27dp"
android:background=
"@color/white"
android:src=
"@drawable/filter"
/>
</LinearLayout>
</LinearLayout>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:background=
"@color/light_grey"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/mid_bar"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"21dp"
android:orientation=
"vertical"
android:paddingVertical=
"21dp"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"15dp"
android:background=
"@drawable/card_border_issue"
android:orientation=
"vertical"
android:padding=
"15dp"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"ASH1-L011-N826"
android:textColor=
"@color/primary"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<Button
android:layout_width=
"139dp"
android:layout_height=
"wrap_content"
android:backgroundTint=
"@color/yellow"
android:clickable=
"true"
android:elevation=
"20dp"
android:focusable=
"true"
android:text=
"WIP"
android:textColor=
"@android:color/white"
android:textSize=
"17sp"
app:cornerRadius=
"40dp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"10dp"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"59dp"
android:layout_height=
"59dp"
android:layout_marginEnd=
"15dp"
android:src=
"@drawable/round_grey"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"5dp"
android:text=
"Bilik Tidur A "
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Created on 03 Jan 2025"
android:textColor=
"@color/grey"
android:textSize=
"19sp"
/>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingVertical=
"10dp"
android:text=
"All → Sliding Door / Frame → Broken / Scratch"
android:textSize=
"19sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"15dp"
android:background=
"@drawable/card_border_issue"
android:orientation=
"vertical"
android:padding=
"15dp"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"ASH1-L011-N826"
android:textColor=
"@color/primary"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<Button
android:layout_width=
"139dp"
android:layout_height=
"wrap_content"
android:backgroundTint=
"@color/blue"
android:clickable=
"true"
android:elevation=
"20dp"
android:focusable=
"true"
android:text=
"Lodged"
android:textColor=
"@android:color/white"
android:textSize=
"17sp"
app:cornerRadius=
"40dp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"10dp"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"59dp"
android:layout_height=
"59dp"
android:layout_marginEnd=
"15dp"
android:src=
"@drawable/round_grey"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"5dp"
android:text=
"Bilik Tidur A "
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Created on 03 Jan 2025"
android:textColor=
"@color/grey"
android:textSize=
"19sp"
/>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingVertical=
"10dp"
android:text=
"All → Sliding Door / Frame → Broken / Scratch"
android:textSize=
"19sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"15dp"
android:background=
"@drawable/card_border_issue"
android:orientation=
"vertical"
android:padding=
"15dp"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"ASH1-L011-N826"
android:textColor=
"@color/primary"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<Button
android:layout_width=
"139dp"
android:layout_height=
"wrap_content"
android:backgroundTint=
"@color/red"
android:clickable=
"true"
android:elevation=
"20dp"
android:focusable=
"true"
android:text=
"Pending Access"
android:textColor=
"@android:color/white"
android:textSize=
"17sp"
app:cornerRadius=
"40dp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"10dp"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"59dp"
android:layout_height=
"59dp"
android:layout_marginEnd=
"15dp"
android:src=
"@drawable/round_grey"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"5dp"
android:text=
"Bilik Tidur A "
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Created on 03 Jan 2025"
android:textColor=
"@color/grey"
android:textSize=
"19sp"
/>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingVertical=
"10dp"
android:text=
"All → Sliding Door / Frame → Broken / Scratch"
android:textSize=
"19sp"
/>
</LinearLayout>
</LinearLayout>
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_main.xml
View file @
2bb31010
...
...
@@ -84,6 +84,7 @@
<!-- Center -->
<LinearLayout
android:id=
"@+id/add_issue_bottom_nav"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
...
...
app/src/main/res/layout/activity_transaction_details.xml
View file @
2bb31010
...
...
@@ -430,7 +430,7 @@
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
John Snow
"
android:text=
"
Reese
"
android:textColor=
"@color/black"
android:textSize=
"20sp"
android:layout_marginStart=
"50dp"
/>
...
...
app/src/main/res/values/colors.xml
View file @
2bb31010
...
...
@@ -9,6 +9,11 @@
<color
name=
"dark_grey"
>
#000000
</color>
<color
name=
"tertiary"
>
#DCF7FF
</color>
<color
name=
"grey"
>
#6D6D6D
</color>
<color
name=
"light_grey"
>
#EEEEEE
</color>
<color
name=
"yellow"
>
#E4C212
</color>
<color
name=
"blue"
>
#2952D6
</color>
<color
name=
"red"
>
#F14915
</color>
...
...
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