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
1f667cf5
Commit
1f667cf5
authored
Oct 28, 2025
by
Amin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix naming
parent
ffac96f5
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
70 additions
and
75 deletions
+70
-75
.name
.idea/.name
+2
-0
AccessItem.java
app/src/main/java/com/example/qms/AccessItem.java
+3
-7
AddIssue.java
app/src/main/java/com/example/qms/AddIssue.java
+9
-1
FilterIssueList.java
app/src/main/java/com/example/qms/FilterIssueList.java
+4
-4
History.java
app/src/main/java/com/example/qms/History.java
+1
-1
IssueDetails.java
app/src/main/java/com/example/qms/IssueDetails.java
+2
-2
Issues.java
app/src/main/java/com/example/qms/Issues.java
+7
-7
MainActivity.java
app/src/main/java/com/example/qms/MainActivity.java
+4
-9
OwnerAcceptanceForm.java
app/src/main/java/com/example/qms/OwnerAcceptanceForm.java
+1
-1
SyncActivity.java
app/src/main/java/com/example/qms/SyncActivity.java
+3
-7
TransactionDetails.java
app/src/main/java/com/example/qms/TransactionDetails.java
+2
-3
UnitLayoutFullscreen.java
app/src/main/java/com/example/qms/UnitLayoutFullscreen.java
+1
-1
WithdrawIssue.java
app/src/main/java/com/example/qms/WithdrawIssue.java
+3
-6
WithdrawIssueSummary.java
app/src/main/java/com/example/qms/WithdrawIssueSummary.java
+4
-4
activity_add_issue.xml
app/src/main/res/layout/activity_add_issue.xml
+6
-3
activity_filter_issue_list.xml
app/src/main/res/layout/activity_filter_issue_list.xml
+4
-4
activity_history.xml
app/src/main/res/layout/activity_history.xml
+1
-1
activity_issue_details.xml
app/src/main/res/layout/activity_issue_details.xml
+3
-4
activity_issues.xml
app/src/main/res/layout/activity_issues.xml
+2
-2
activity_owner_acceptance_form.xml
app/src/main/res/layout/activity_owner_acceptance_form.xml
+1
-1
activity_unit_layout_fullscreen.xml
app/src/main/res/layout/activity_unit_layout_fullscreen.xml
+1
-1
activity_withdraw_issue_summary.xml
app/src/main/res/layout/activity_withdraw_issue_summary.xml
+4
-4
sync_alert.xml
app/src/main/res/layout/sync_alert.xml
+2
-2
No files found.
.idea/.name
0 → 100644
View file @
1f667cf5
qms
\ No newline at end of file
app/src/main/java/com/example/qms/AccessItem.java
View file @
1f667cf5
...
...
@@ -13,10 +13,6 @@ import androidx.core.view.WindowInsetsCompat;
public
class
AccessItem
extends
AppCompatActivity
{
private
LinearLayout
transactionDetail
;
private
ImageButton
back_button
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
...
...
@@ -27,15 +23,15 @@ public class AccessItem extends AppCompatActivity {
return
insets
;
});
transactionDetail
=
findViewById
(
R
.
id
.
transactionDetails
);
back_b
utton
=
findViewById
(
R
.
id
.
backButton
);
LinearLayout
transactionDetail
=
findViewById
(
R
.
id
.
transactionDetails
);
ImageButton
backB
utton
=
findViewById
(
R
.
id
.
backButton
);
transactionDetail
.
setOnClickListener
(
v
->
{
Intent
intent
=
new
Intent
(
AccessItem
.
this
,
TransactionDetails
.
class
);
startActivity
(
intent
);
});
back
_b
utton
.
setOnClickListener
(
v
->
{
back
B
utton
.
setOnClickListener
(
v
->
{
onBackPressed
();
});
}
...
...
app/src/main/java/com/example/qms/AddIssue.java
View file @
1f667cf5
package
com
.
example
.
qms
;
import
android.os.Bundle
;
import
android.widget.ImageButton
;
import
androidx.activity.EdgeToEdge
;
import
androidx.appcompat.app.AppCompatActivity
;
...
...
@@ -17,8 +18,14 @@ public class AddIssue extends AppCompatActivity {
setContentView
(
R
.
layout
.
activity_add_issue
);
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
);
v
.
setPadding
(
0
,
0
,
0
,
systemBars
.
bottom
);
return
insets
;
});
ImageButton
backButton
=
findViewById
(
R
.
id
.
backButton
);
backButton
.
setOnClickListener
(
v
->
{
onBackPressed
();
});
}
}
\ No newline at end of file
app/src/main/java/com/example/qms/FilterIssueList.java
View file @
1f667cf5
...
...
@@ -28,13 +28,13 @@ public class FilterIssueList extends AppCompatActivity {
return
insets
;
});
LinearLayout
dateSelectorTo
=
findViewById
(
R
.
id
.
date
_selector_t
o
);
TextView
tvDateTo
=
findViewById
(
R
.
id
.
tv
_date_t
o
);
LinearLayout
dateSelectorTo
=
findViewById
(
R
.
id
.
date
SelectorT
o
);
TextView
tvDateTo
=
findViewById
(
R
.
id
.
tv
DateT
o
);
LinearLayout
dateSelectorFrom
=
findViewById
(
R
.
id
.
date
_selector_f
rom
);
LinearLayout
dateSelectorFrom
=
findViewById
(
R
.
id
.
date
SelectorF
rom
);
TextView
tvDateFrom
=
findViewById
(
R
.
id
.
tv_date_from
);
ImageButton
backButon
=
findViewById
(
R
.
id
.
back
_b
utton
);
ImageButton
backButon
=
findViewById
(
R
.
id
.
back
B
utton
);
backButon
.
setOnClickListener
(
v
->
{
onBackPressed
();
...
...
app/src/main/java/com/example/qms/History.java
View file @
1f667cf5
...
...
@@ -23,7 +23,7 @@ public class History extends AppCompatActivity {
return
insets
;
});
ImageButton
addInfo
=
findViewById
(
R
.
id
.
add
_info_i
con
);
ImageButton
addInfo
=
findViewById
(
R
.
id
.
add
InfoI
con
);
ImageButton
backButton
=
findViewById
(
R
.
id
.
backButton
);
backButton
.
setOnClickListener
(
v
->
{
...
...
app/src/main/java/com/example/qms/IssueDetails.java
View file @
1f667cf5
...
...
@@ -24,8 +24,8 @@ public class IssueDetails extends AppCompatActivity {
});
ImageButton
backButton
=
findViewById
(
R
.
id
.
backButton
);
ImageButton
historyButton
=
findViewById
(
R
.
id
.
history
_b
utton
);
FrameLayout
imageFullscreen
=
findViewById
(
R
.
id
.
image
_f
ullscreen
);
ImageButton
historyButton
=
findViewById
(
R
.
id
.
history
B
utton
);
FrameLayout
imageFullscreen
=
findViewById
(
R
.
id
.
image
F
ullscreen
);
imageFullscreen
.
setOnClickListener
(
v
->
{
Intent
intent
=
new
Intent
(
IssueDetails
.
this
,
UnitLayoutFullscreen
.
class
);
...
...
app/src/main/java/com/example/qms/Issues.java
View file @
1f667cf5
...
...
@@ -13,7 +13,7 @@ import androidx.core.view.WindowInsetsCompat;
public
class
Issues
extends
AppCompatActivity
{
private
ImageButton
withdrawIssueIcon
,
back
_button
,
filter_i
ssue
,
ownerAcceptanceFormIcon
;
private
ImageButton
withdrawIssueIcon
,
back
Button
,
filterI
ssue
,
ownerAcceptanceFormIcon
;
private
LinearLayout
issueClick
;
...
...
@@ -29,12 +29,12 @@ public class Issues extends AppCompatActivity {
return
insets
;
});
withdrawIssueIcon
=
findViewById
(
R
.
id
.
withdraw_issue_icon
);
back_button
=
findViewById
(
R
.
id
.
backButton
);
filter_i
ssue
=
findViewById
(
R
.
id
.
filterIssue
);
ownerAcceptanceFormIcon
=
findViewById
(
R
.
id
.
owner_acceptance_form_icon
);
ImageButton
withdrawIssueIcon
=
findViewById
(
R
.
id
.
withdraw_issue_icon
);
ImageButton
back_button
=
findViewById
(
R
.
id
.
backButton
);
ImageButton
filterI
ssue
=
findViewById
(
R
.
id
.
filterIssue
);
ImageButton
ownerAcceptanceFormIcon
=
findViewById
(
R
.
id
.
owner_acceptance_form_icon
);
issueClick
=
findViewById
(
R
.
id
.
issues_c
lick
);
LinearLayout
issueClick
=
findViewById
(
R
.
id
.
issueC
lick
);
withdrawIssueIcon
.
setOnClickListener
(
v
->
{
...
...
@@ -42,7 +42,7 @@ public class Issues extends AppCompatActivity {
startActivity
(
intent
);
});
filter
_i
ssue
.
setOnClickListener
(
v
->
{
filter
I
ssue
.
setOnClickListener
(
v
->
{
Intent
intent
=
new
Intent
(
Issues
.
this
,
FilterIssueList
.
class
);
startActivity
(
intent
);
});
...
...
app/src/main/java/com/example/qms/MainActivity.java
View file @
1f667cf5
...
...
@@ -14,11 +14,6 @@ import androidx.drawerlayout.widget.DrawerLayout;
public
class
MainActivity
extends
AppCompatActivity
{
private
DrawerLayout
drawerLayout
;
private
LinearLayout
syncNav
,
accessItemBottomNav
,
addIssueBottomNav
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
...
...
@@ -34,10 +29,10 @@ public class MainActivity extends AppCompatActivity {
});
// Initialize DrawerLayout
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
);
DrawerLayout
drawerLayout
=
findViewById
(
R
.
id
.
drawerLayout
);
LinearLayout
syncNav
=
findViewById
(
R
.
id
.
sync_nav
);
LinearLayout
accessItemBottomNav
=
findViewById
(
R
.
id
.
access_item_bottom_nav
);
LinearLayout
addIssueBottomNav
=
findViewById
(
R
.
id
.
add_issue_bottom_nav
);
...
...
app/src/main/java/com/example/qms/OwnerAcceptanceForm.java
View file @
1f667cf5
...
...
@@ -21,7 +21,7 @@ public class OwnerAcceptanceForm extends AppCompatActivity {
return
insets
;
});
ImageButton
backButton
=
findViewById
(
R
.
id
.
back
_b
utton
);
ImageButton
backButton
=
findViewById
(
R
.
id
.
back
B
utton
);
backButton
.
setOnClickListener
(
v
->
{
...
...
app/src/main/java/com/example/qms/SyncActivity.java
View file @
1f667cf5
...
...
@@ -17,10 +17,6 @@ import androidx.core.view.WindowInsetsCompat;
public
class
SyncActivity
extends
AppCompatActivity
{
private
Button
syncButton
;
private
ImageButton
back_button
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
...
...
@@ -31,8 +27,8 @@ public class SyncActivity extends AppCompatActivity {
return
insets
;
});
syncButton
=
findViewById
(
R
.
id
.
sync_button
);
back_b
utton
=
findViewById
(
R
.
id
.
backButton
);
Button
syncButton
=
findViewById
(
R
.
id
.
sync_button
);
ImageButton
backB
utton
=
findViewById
(
R
.
id
.
backButton
);
syncButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
...
...
@@ -41,7 +37,7 @@ public class SyncActivity extends AppCompatActivity {
}
});
back
_b
utton
.
setOnClickListener
(
v
->
{
back
B
utton
.
setOnClickListener
(
v
->
{
onBackPressed
();
});
...
...
app/src/main/java/com/example/qms/TransactionDetails.java
View file @
1f667cf5
...
...
@@ -11,7 +11,6 @@ import androidx.core.view.WindowInsetsCompat;
public
class
TransactionDetails
extends
AppCompatActivity
{
private
ImageButton
back_button
;
@Override
...
...
@@ -24,9 +23,9 @@ public class TransactionDetails extends AppCompatActivity {
return
insets
;
});
back_b
utton
=
findViewById
(
R
.
id
.
backButton
);
ImageButton
backB
utton
=
findViewById
(
R
.
id
.
backButton
);
back
_b
utton
.
setOnClickListener
(
v
->
{
back
B
utton
.
setOnClickListener
(
v
->
{
onBackPressed
();
});
...
...
app/src/main/java/com/example/qms/UnitLayoutFullscreen.java
View file @
1f667cf5
...
...
@@ -21,7 +21,7 @@ public class UnitLayoutFullscreen extends AppCompatActivity {
return
insets
;
});
ImageButton
cancelButton
=
findViewById
(
R
.
id
.
cancel
_b
utton
);
ImageButton
cancelButton
=
findViewById
(
R
.
id
.
cancel
B
utton
);
cancelButton
.
setOnClickListener
(
v
->
{
onBackPressed
();
...
...
app/src/main/java/com/example/qms/WithdrawIssue.java
View file @
1f667cf5
...
...
@@ -13,9 +13,6 @@ import androidx.core.view.WindowInsetsCompat;
public
class
WithdrawIssue
extends
AppCompatActivity
{
private
Button
proceedButton
;
private
ImageButton
back_button
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
...
...
@@ -27,15 +24,15 @@ public class WithdrawIssue extends AppCompatActivity {
return
insets
;
});
proceedButton
=
findViewById
(
R
.
id
.
proceed_button
);
back_b
utton
=
findViewById
(
R
.
id
.
backButton
);
Button
proceedButton
=
findViewById
(
R
.
id
.
proceed_button
);
ImageButton
backB
utton
=
findViewById
(
R
.
id
.
backButton
);
proceedButton
.
setOnClickListener
(
v
->
{
Intent
intent
=
new
Intent
(
WithdrawIssue
.
this
,
WithdrawIssueSummary
.
class
);
startActivity
(
intent
);
});
back
_b
utton
.
setOnClickListener
(
v
->
{
back
B
utton
.
setOnClickListener
(
v
->
{
onBackPressed
();
});
...
...
app/src/main/java/com/example/qms/WithdrawIssueSummary.java
View file @
1f667cf5
...
...
@@ -27,10 +27,10 @@ public class WithdrawIssueSummary extends AppCompatActivity {
return
insets
;
});
ImageButton
backButton
=
findViewById
(
R
.
id
.
back
_b
utton
);
Button
confirmButton
=
findViewById
(
R
.
id
.
confirm
_b
utton
);
Button
backButtonBot
=
findViewById
(
R
.
id
.
back
_button_b
ot
);
EditText
inputRemarks
=
findViewById
(
R
.
id
.
input
_r
emarks
);
ImageButton
backButton
=
findViewById
(
R
.
id
.
back
B
utton
);
Button
confirmButton
=
findViewById
(
R
.
id
.
confirm
B
utton
);
Button
backButtonBot
=
findViewById
(
R
.
id
.
back
ButtonB
ot
);
EditText
inputRemarks
=
findViewById
(
R
.
id
.
input
R
emarks
);
backButton
.
setOnClickListener
(
v
->
{
onBackPressed
();
...
...
app/src/main/res/layout/activity_add_issue.xml
View file @
1f667cf5
...
...
@@ -63,6 +63,7 @@
</LinearLayout>
<LinearLayout
android:id=
"@+id/title"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:layout_constraintTop_toBottomOf=
"@id/top_nav"
...
...
@@ -78,14 +79,16 @@
android:textSize=
"27sp"
android:padding=
"20dp"
/>
</LinearLayout>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:src=
"@drawable/faciity_layout_big"
android:scaleType=
"centerCrop"
android:layout_marginTop=
"40dp"
/>
</LinearLayout
>
android:layout_marginTop=
"40dp"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/title"
/
>
<LinearLayout
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_filter_issue_list.xml
View file @
1f667cf5
...
...
@@ -25,7 +25,7 @@
android:layout_height=
"59dp"
>
<ImageButton
android:id=
"@+id/back
_b
utton"
android:id=
"@+id/back
B
utton"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginStart=
"16dp"
...
...
@@ -93,7 +93,7 @@
android:textAlignment=
"center"
/>
<LinearLayout
android:id=
"@+id/date
_selector_f
rom"
android:id=
"@+id/date
SelectorF
rom"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
...
...
@@ -141,7 +141,7 @@
android:textAlignment=
"center"
/>
<LinearLayout
android:id=
"@+id/date
_selector_t
o"
android:id=
"@+id/date
SelectorT
o"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
...
...
@@ -152,7 +152,7 @@
android:layout_marginTop=
"10dp"
>
<TextView
android:id=
"@+id/tv
_date_t
o"
android:id=
"@+id/tv
DateT
o"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
...
...
app/src/main/res/layout/activity_history.xml
View file @
1f667cf5
...
...
@@ -50,7 +50,7 @@
app:layout_constraintTop_toTopOf=
"parent"
/>
<ImageButton
android:id=
"@+id/add
_info_i
con"
android:id=
"@+id/add
InfoI
con"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginEnd=
"16dp"
...
...
app/src/main/res/layout/activity_issue_details.xml
View file @
1f667cf5
...
...
@@ -49,7 +49,7 @@
app:layout_constraintTop_toTopOf=
"parent"
/>
<ImageButton
android:id=
"@+id/history
_b
utton"
android:id=
"@+id/history
B
utton"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginEnd=
"16dp"
...
...
@@ -124,7 +124,7 @@
</LinearLayout>
<FrameLayout
android:id=
"@+id/image
_f
ullscreen"
android:id=
"@+id/image
F
ullscreen"
android:layout_width=
"85dp"
android:layout_height=
"85dp"
android:background=
"@drawable/background_border"
>
...
...
@@ -133,8 +133,7 @@
android:layout_width=
"70dp"
android:layout_height=
"70dp"
android:src=
"@drawable/facility_plan"
android:layout_gravity=
"center"
android:background=
"@color/white"
/>
android:layout_gravity=
"center"
/>
<ImageView
android:layout_width=
"36dp"
...
...
app/src/main/res/layout/activity_issues.xml
View file @
1f667cf5
...
...
@@ -126,7 +126,7 @@
android:id=
"@+id/filterIssue"
android:layout_width=
"27dp"
android:layout_height=
"27dp"
android:background=
"@
color/white
"
android:background=
"@
null
"
android:src=
"@drawable/filter"
/>
</LinearLayout>
...
...
@@ -189,7 +189,7 @@
android:paddingVertical=
"21dp"
>
<LinearLayout
android:id=
"@+id/issue
s_c
lick"
android:id=
"@+id/issue
C
lick"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"15dp"
...
...
app/src/main/res/layout/activity_owner_acceptance_form.xml
View file @
1f667cf5
...
...
@@ -25,7 +25,7 @@
android:layout_height=
"59dp"
>
<ImageButton
android:id=
"@+id/back
_b
utton"
android:id=
"@+id/back
B
utton"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginStart=
"16dp"
...
...
app/src/main/res/layout/activity_unit_layout_fullscreen.xml
View file @
1f667cf5
...
...
@@ -25,7 +25,7 @@
android:layout_height=
"59dp"
>
<ImageButton
android:id=
"@+id/cancel
_b
utton"
android:id=
"@+id/cancel
B
utton"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginStart=
"16dp"
...
...
app/src/main/res/layout/activity_withdraw_issue_summary.xml
View file @
1f667cf5
...
...
@@ -25,7 +25,7 @@
android:layout_height=
"59dp"
>
<ImageButton
android:id=
"@+id/back
_b
utton"
android:id=
"@+id/back
B
utton"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginStart=
"16dp"
...
...
@@ -70,7 +70,7 @@
android:textStyle=
"bold"
/>
<EditText
android:id=
"@+id/input
_r
emarks"
android:id=
"@+id/input
R
emarks"
android:layout_width=
"match_parent"
android:layout_height=
"115dp"
android:layout_marginTop=
"10dp"
...
...
@@ -224,7 +224,7 @@
app:layout_constraintStart_toStartOf=
"parent"
>
<Button
android:id=
"@+id/back
_button_b
ot"
android:id=
"@+id/back
ButtonB
ot"
android:layout_width=
"0dp"
android:layout_height=
"64dp"
android:layout_weight=
"1"
...
...
@@ -241,7 +241,7 @@
app:strokeWidth=
"1dp"
/>
<Button
android:id=
"@+id/confirm
_b
utton"
android:id=
"@+id/confirm
B
utton"
android:layout_width=
"0dp"
android:layout_height=
"64dp"
android:layout_weight=
"1"
...
...
app/src/main/res/layout/sync_alert.xml
View file @
1f667cf5
...
...
@@ -3,8 +3,8 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:id=
"@+id/syncAlert"
android:layout_width=
"match_parent"
android:layout_height=
"
match_par
ent"
app:layout_constraintHeight=
"
match_par
ent"
android:layout_height=
"
wrap_cont
ent"
app:layout_constraintHeight=
"
wrap_cont
ent"
app:layout_constraintWidth=
"match_parent"
android:background=
"@drawable/alert_border"
>
...
...
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