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
985d60f6
Commit
985d60f6
authored
Oct 27, 2025
by
Amin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix scroll bar issue
parent
58a4a997
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
170 additions
and
85 deletions
+170
-85
misc.xml
.idea/misc.xml
+0
-1
AddInfo.java
app/src/main/java/com/example/qms/AddInfo.java
+105
-55
WithdrawIssueSummary.java
app/src/main/java/com/example/qms/WithdrawIssueSummary.java
+37
-10
upload_border.xml
app/src/main/res/drawable/upload_border.xml
+3
-2
access_item.xml
app/src/main/res/layout/access_item.xml
+2
-1
activity_access_item.xml
app/src/main/res/layout/activity_access_item.xml
+2
-1
activity_add_info.xml
app/src/main/res/layout/activity_add_info.xml
+1
-1
activity_history.xml
app/src/main/res/layout/activity_history.xml
+2
-1
activity_issue_details.xml
app/src/main/res/layout/activity_issue_details.xml
+2
-1
activity_issues.xml
app/src/main/res/layout/activity_issues.xml
+2
-1
activity_main.xml
app/src/main/res/layout/activity_main.xml
+1
-3
activity_owner_acceptance_form.xml
app/src/main/res/layout/activity_owner_acceptance_form.xml
+2
-1
activity_owner_acceptance_form_detail.xml
...main/res/layout/activity_owner_acceptance_form_detail.xml
+2
-1
activity_sync.xml
app/src/main/res/layout/activity_sync.xml
+2
-1
activity_transaction_details.xml
app/src/main/res/layout/activity_transaction_details.xml
+2
-1
activity_withdraw_issue.xml
app/src/main/res/layout/activity_withdraw_issue.xml
+2
-1
activity_withdraw_issue_summary.xml
app/src/main/res/layout/activity_withdraw_issue_summary.xml
+3
-3
No files found.
.idea/misc.xml
View file @
985d60f6
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ExternalStorageConfigurationManager"
enabled=
"true"
/>
<component
name=
"ExternalStorageConfigurationManager"
enabled=
"true"
/>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_21"
default=
"true"
project-jdk-name=
"jbr-21"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_21"
default=
"true"
project-jdk-name=
"jbr-21"
project-jdk-type=
"JavaSDK"
>
...
...
app/src/main/java/com/example/qms/AddInfo.java
View file @
985d60f6
...
@@ -4,58 +4,44 @@ import android.app.Activity;
...
@@ -4,58 +4,44 @@ import android.app.Activity;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.net.Uri
;
import
android.net.Uri
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.widget.ImageButton
;
import
android.widget.ImageView
;
import
android.widget.ImageView
;
import
android.widget.LinearLayout
;
import
android.widget.LinearLayout
;
import
android.widget.TextView
;
import
android.widget.TextView
;
import
android.widget.ImageButton
;
import
androidx.activity.
EdgeToEdge
;
import
androidx.activity.
OnBackPressedCallback
;
import
androidx.activity.result.ActivityResultLauncher
;
import
androidx.activity.result.ActivityResultLauncher
;
import
androidx.activity.result.contract.ActivityResultContracts
;
import
androidx.activity.result.contract.ActivityResultContracts
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.core.graphics.Insets
;
import
androidx.core.content.ContextCompat
;
import
androidx.core.view.ViewCompat
;
import
androidx.core.view.WindowInsetsCompat
;
public
class
AddInfo
extends
AppCompatActivity
{
public
class
AddInfo
extends
AppCompatActivity
{
private
LinearLayout
uploadLayout
;
private
LinearLayout
uploadLayout
;
// For image upload
private
LinearLayout
uploadMedia
;
// For media upload
private
ImageView
cameraIcon
;
private
ImageView
cameraIcon
;
private
TextView
uploadText
;
private
TextView
uploadText
;
private
ImageView
mediaIcon
;
private
TextView
mediaText
;
//
Launcher for picking image
//
--- Image picker launcher ---
private
final
ActivityResultLauncher
<
Intent
>
pickImageLauncher
=
private
final
ActivityResultLauncher
<
Intent
>
pickImageLauncher
=
registerForActivityResult
(
new
ActivityResultContracts
.
StartActivityForResult
(),
result
->
{
registerForActivityResult
(
new
ActivityResultContracts
.
StartActivityForResult
(),
result
->
{
if
(
result
.
getResultCode
()
==
Activity
.
RESULT_OK
&&
result
.
getData
()
!=
null
)
{
if
(
result
.
getResultCode
()
==
Activity
.
RESULT_OK
&&
result
.
getData
()
!=
null
)
{
Uri
imageUri
=
result
.
getData
().
getData
();
Uri
imageUri
=
result
.
getData
().
getData
();
if
(
imageUri
!=
null
)
{
if
(
imageUri
!=
null
)
{
getContentResolver
().
takePersistableUriPermission
(
displayImagePreview
(
imageUri
);
imageUri
,
}
Intent
.
FLAG_GRANT_READ_URI_PERMISSION
}
);
});
// Set the background of the layout to the chosen image
// --- Media picker launcher (for PDF, videos, etc.) ---
uploadLayout
.
setBackground
(
null
);
// remove the border first
private
final
ActivityResultLauncher
<
Intent
>
pickMediaLauncher
=
uploadLayout
.
setBackgroundResource
(
R
.
drawable
.
upload_border
);
// keep border look
registerForActivityResult
(
new
ActivityResultContracts
.
StartActivityForResult
(),
result
->
{
uploadLayout
.
setClipToOutline
(
true
);
// follow rounded shape if any
if
(
result
.
getResultCode
()
==
Activity
.
RESULT_OK
&&
result
.
getData
()
!=
null
)
{
Uri
mediaUri
=
result
.
getData
().
getData
();
uploadLayout
.
setBackground
(
null
);
if
(
mediaUri
!=
null
)
{
uploadLayout
.
setBackgroundResource
(
0
);
displayMediaPreview
(
mediaUri
);
uploadLayout
.
setBackgroundResource
(
R
.
drawable
.
upload_border
);
uploadLayout
.
setClipToOutline
(
true
);
// Create an ImageView to preview inside the layout
ImageView
preview
=
new
ImageView
(
this
);
preview
.
setLayoutParams
(
new
LinearLayout
.
LayoutParams
(
LinearLayout
.
LayoutParams
.
MATCH_PARENT
,
LinearLayout
.
LayoutParams
.
MATCH_PARENT
));
preview
.
setScaleType
(
ImageView
.
ScaleType
.
CENTER_CROP
);
preview
.
setImageURI
(
imageUri
);
// Clear previous views (icon + text)
uploadLayout
.
removeAllViews
();
uploadLayout
.
addView
(
preview
);
}
}
}
}
});
});
...
@@ -63,39 +49,103 @@ public class AddInfo extends AppCompatActivity {
...
@@ -63,39 +49,103 @@ public class AddInfo extends AppCompatActivity {
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
EdgeToEdge
.
enable
(
this
);
setContentView
(
R
.
layout
.
activity_add_info
);
setContentView
(
R
.
layout
.
activity_add_info
);
ViewCompat
.
setOnApplyWindowInsetsListener
(
findViewById
(
R
.
id
.
main
),
(
v
,
insets
)
->
{
// Find views
Insets
systemBars
=
insets
.
getInsets
(
WindowInsetsCompat
.
Type
.
systemBars
());
return
insets
;
});
uploadLayout
=
findViewById
(
R
.
id
.
comment_section
).
findViewById
(
R
.
id
.
uploadLayout
);
// If uploadLayout doesn’t have id, just find it directly:
uploadLayout
=
findViewById
(
R
.
id
.
comment_section
).
findViewById
(
R
.
id
.
comment_section
);
// Or simply:
uploadLayout
=
findViewById
(
R
.
id
.
comment_section
).
findViewById
(
R
.
id
.
comment_section
);
// If your inner layout has no id, give it one in XML:
// android:id="@+id/uploadLayout"
uploadLayout
=
findViewById
(
R
.
id
.
uploadLayout
);
uploadLayout
=
findViewById
(
R
.
id
.
uploadLayout
);
uploadMedia
=
findViewById
(
R
.
id
.
uploadMedia
);
cameraIcon
=
findViewById
(
R
.
id
.
camera_icon
);
uploadText
=
findViewById
(
R
.
id
.
upload_text
);
mediaIcon
=
findViewById
(
R
.
id
.
media_icon
);
mediaText
=
findViewById
(
R
.
id
.
media_text
);
// Reference icon and text
// Handle image upload
cameraIcon
=
uploadLayout
.
findViewById
(
R
.
id
.
camera_icon
);
uploadLayout
.
setOnClickListener
(
v
->
openGalleryForImages
());
uploadText
=
uploadLayout
.
findViewById
(
R
.
id
.
upload_text
);
uploadLayout
.
setOnClickListener
(
v
->
openGallery
());
// Handle media upload
uploadMedia
.
setOnClickListener
(
v
->
openGalleryForMedia
());
// Back button using modern dispatcher
ImageButton
backButton
=
findViewById
(
R
.
id
.
back_button
);
ImageButton
backButton
=
findViewById
(
R
.
id
.
back_button
);
if
(
backButton
!=
null
)
backButton
.
setOnClickListener
(
v
->
onBackPressed
());
if
(
backButton
!=
null
)
{
backButton
.
setOnClickListener
(
v
->
finish
());
}
// Handle physical back safely (modern way)
getOnBackPressedDispatcher
().
addCallback
(
this
,
new
OnBackPressedCallback
(
true
)
{
@Override
public
void
handleOnBackPressed
()
{
finish
();
}
});
}
}
private
void
openGallery
()
{
// ==================== IMAGE PICKER ====================
private
void
openGalleryForImages
()
{
Intent
intent
=
new
Intent
(
Intent
.
ACTION_OPEN_DOCUMENT
);
Intent
intent
=
new
Intent
(
Intent
.
ACTION_OPEN_DOCUMENT
);
intent
.
addCategory
(
Intent
.
CATEGORY_OPENABLE
);
intent
.
addCategory
(
Intent
.
CATEGORY_OPENABLE
);
intent
.
setType
(
"image/*"
);
intent
.
setType
(
"image/*"
);
pickImageLauncher
.
launch
(
intent
);
pickImageLauncher
.
launch
(
intent
);
}
}
private
void
displayImagePreview
(
Uri
uri
)
{
// Clear old views
uploadLayout
.
removeAllViews
();
// Add new preview image
ImageView
preview
=
new
ImageView
(
this
);
preview
.
setLayoutParams
(
new
LinearLayout
.
LayoutParams
(
LinearLayout
.
LayoutParams
.
MATCH_PARENT
,
LinearLayout
.
LayoutParams
.
MATCH_PARENT
));
preview
.
setScaleType
(
ImageView
.
ScaleType
.
CENTER_CROP
);
preview
.
setImageURI
(
uri
);
uploadLayout
.
addView
(
preview
);
}
// ==================== MEDIA PICKER ====================
private
void
openGalleryForMedia
()
{
Intent
intent
=
new
Intent
(
Intent
.
ACTION_OPEN_DOCUMENT
);
intent
.
addCategory
(
Intent
.
CATEGORY_OPENABLE
);
intent
.
setType
(
"*/*"
);
// Only allow PDFs and videos
String
[]
mimeTypes
=
{
"application/pdf"
,
"video/*"
};
intent
.
putExtra
(
Intent
.
EXTRA_MIME_TYPES
,
mimeTypes
);
pickMediaLauncher
.
launch
(
intent
);
}
private
void
displayMediaPreview
(
Uri
uri
)
{
// Clear old views
uploadMedia
.
removeAllViews
();
// Show an icon + filename instead of image preview
LinearLayout
container
=
new
LinearLayout
(
this
);
container
.
setOrientation
(
LinearLayout
.
HORIZONTAL
);
container
.
setGravity
(
1
);
container
.
setPadding
(
20
,
20
,
20
,
20
);
container
.
setLayoutParams
(
new
LinearLayout
.
LayoutParams
(
LinearLayout
.
LayoutParams
.
MATCH_PARENT
,
LinearLayout
.
LayoutParams
.
WRAP_CONTENT
));
ImageView
fileIcon
=
new
ImageView
(
this
);
fileIcon
.
setLayoutParams
(
new
LinearLayout
.
LayoutParams
(
64
,
64
));
fileIcon
.
setImageDrawable
(
ContextCompat
.
getDrawable
(
this
,
R
.
drawable
.
media_upload
));
// your icon
container
.
addView
(
fileIcon
);
TextView
fileName
=
new
TextView
(
this
);
fileName
.
setText
(
getFileNameFromUri
(
uri
));
fileName
.
setTextSize
(
16
);
fileName
.
setPadding
(
20
,
0
,
0
,
0
);
container
.
addView
(
fileName
);
uploadMedia
.
addView
(
container
);
}
private
String
getFileNameFromUri
(
Uri
uri
)
{
String
path
=
uri
.
getLastPathSegment
();
if
(
path
==
null
)
return
"Unknown File"
;
int
index
=
path
.
lastIndexOf
(
'/'
);
return
(
index
!=
-
1
)
?
path
.
substring
(
index
+
1
)
:
path
;
}
}
}
app/src/main/java/com/example/qms/WithdrawIssueSummary.java
View file @
985d60f6
...
@@ -2,22 +2,21 @@ package com.example.qms;
...
@@ -2,22 +2,21 @@ package com.example.qms;
import
android.app.AlertDialog
;
import
android.app.AlertDialog
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.text.Editable
;
import
android.text.TextWatcher
;
import
android.widget.Button
;
import
android.widget.Button
;
import
android.widget.EditText
;
import
android.widget.ImageButton
;
import
android.widget.ImageButton
;
import
android.widget.Toast
;
import
androidx.activity.EdgeToEdge
;
import
androidx.activity.EdgeToEdge
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.core.content.ContextCompat
;
import
androidx.core.graphics.Insets
;
import
androidx.core.graphics.Insets
;
import
androidx.core.view.ViewCompat
;
import
androidx.core.view.ViewCompat
;
import
androidx.core.view.WindowInsetsCompat
;
import
androidx.core.view.WindowInsetsCompat
;
public
class
WithdrawIssueSummary
extends
AppCompatActivity
{
public
class
WithdrawIssueSummary
extends
AppCompatActivity
{
private
ImageButton
back_button
;
private
Button
confirmButton
,
back_button_bot
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
...
@@ -28,15 +27,16 @@ public class WithdrawIssueSummary extends AppCompatActivity {
...
@@ -28,15 +27,16 @@ public class WithdrawIssueSummary extends AppCompatActivity {
return
insets
;
return
insets
;
});
});
back_button
=
findViewById
(
R
.
id
.
backButton
);
ImageButton
backButton
=
findViewById
(
R
.
id
.
back_button
);
confirmButton
=
findViewById
(
R
.
id
.
confirm_button
);
Button
confirmButton
=
findViewById
(
R
.
id
.
confirm_button
);
back_button_bot
=
findViewById
(
R
.
id
.
backButtonBot
);
Button
backButtonBot
=
findViewById
(
R
.
id
.
back_button_bot
);
EditText
inputRemarks
=
findViewById
(
R
.
id
.
input_remarks
);
back
_b
utton
.
setOnClickListener
(
v
->
{
back
B
utton
.
setOnClickListener
(
v
->
{
onBackPressed
();
onBackPressed
();
});
});
back
_button_b
ot
.
setOnClickListener
(
v
->
{
back
ButtonB
ot
.
setOnClickListener
(
v
->
{
onBackPressed
();
onBackPressed
();
});
});
...
@@ -60,8 +60,34 @@ public class WithdrawIssueSummary extends AppCompatActivity {
...
@@ -60,8 +60,34 @@ public class WithdrawIssueSummary extends AppCompatActivity {
.
show
();
.
show
();
});
});
confirmButton
.
setBackgroundTintList
(
ContextCompat
.
getColorStateList
(
this
,
R
.
color
.
sync_button
)
);
confirmButton
.
setEnabled
(
false
);
inputRemarks
.
addTextChangedListener
(
new
TextWatcher
()
{
@Override
public
void
beforeTextChanged
(
CharSequence
s
,
int
start
,
int
count
,
int
after
)
{
}
@Override
public
void
onTextChanged
(
CharSequence
s
,
int
start
,
int
before
,
int
count
)
{
if
(
s
.
toString
().
trim
().
length
()
>
0
)
{
confirmButton
.
setEnabled
(
true
);
confirmButton
.
setBackgroundTintList
(
ContextCompat
.
getColorStateList
(
WithdrawIssueSummary
.
this
,
R
.
color
.
primary
)
);
}
else
{
confirmButton
.
setEnabled
(
false
);
confirmButton
.
setBackgroundTintList
(
ContextCompat
.
getColorStateList
(
WithdrawIssueSummary
.
this
,
R
.
color
.
sync_button
)
);
}
}
@Override
public
void
afterTextChanged
(
Editable
s
)
{
}
});
}
}
}
}
\ No newline at end of file
app/src/main/res/drawable/upload_border.xml
View file @
985d60f6
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<stroke
<stroke
android:width=
"1dp"
android:width=
"1dp"
android:color=
"@color/card_border"
android:color=
"@color/card_border"
android:dashGap=
"
4
dp"
android:dashGap=
"
10
dp"
android:dashWidth=
"
4
dp"
/>
android:dashWidth=
"
6
dp"
/>
<corners
android:radius=
"21dp"
/>
<corners
android:radius=
"21dp"
/>
</shape>
</shape>
\ No newline at end of file
app/src/main/res/layout/access_item.xml
View file @
985d60f6
...
@@ -53,7 +53,8 @@
...
@@ -53,7 +53,8 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
app:layout_constraintBottom_toBottomOf=
"parent"
>
app:layout_constraintBottom_toBottomOf=
"parent"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_access_item.xml
View file @
985d60f6
...
@@ -55,7 +55,8 @@
...
@@ -55,7 +55,8 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
app:layout_constraintBottom_toBottomOf=
"parent"
>
app:layout_constraintBottom_toBottomOf=
"parent"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_add_info.xml
View file @
985d60f6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
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:id=
"@+id/
main
"
android:id=
"@+id/
activity_add_info
"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".AddInfo"
>
tools:context=
".AddInfo"
>
...
...
app/src/main/res/layout/activity_history.xml
View file @
985d60f6
...
@@ -70,7 +70,8 @@
...
@@ -70,7 +70,8 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
>
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_issue_details.xml
View file @
985d60f6
...
@@ -68,7 +68,8 @@
...
@@ -68,7 +68,8 @@
app:layout_constraintBottom_toTopOf=
"@id/bottom_bar"
app:layout_constraintBottom_toTopOf=
"@id/bottom_bar"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/top_nav"
>
app:layout_constraintTop_toBottomOf=
"@id/top_nav"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_issues.xml
View file @
985d60f6
...
@@ -178,7 +178,8 @@
...
@@ -178,7 +178,8 @@
android:background=
"@color/light_grey"
android:background=
"@color/light_grey"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/mid_bar"
>
app:layout_constraintTop_toBottomOf=
"@+id/mid_bar"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_main.xml
View file @
985d60f6
...
@@ -72,7 +72,6 @@
...
@@ -72,7 +72,6 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
>
app:layout_constraintStart_toStartOf=
"parent"
>
<LinearLayout
<LinearLayout
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -94,7 +93,6 @@
...
@@ -94,7 +93,6 @@
android:textSize=
"16sp"
/>
android:textSize=
"16sp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
<LinearLayout
android:id=
"@+id/add_issue_bottom_nav"
android:id=
"@+id/add_issue_bottom_nav"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
...
@@ -113,7 +111,7 @@
...
@@ -113,7 +111,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Add Issue"
android:text=
"Add Issue"
android:textColor=
"
@color/white
"
android:textColor=
"
?android:attr/colorBackground
"
android:textSize=
"16sp"
/>
android:textSize=
"16sp"
/>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/layout/activity_owner_acceptance_form.xml
View file @
985d60f6
...
@@ -59,7 +59,8 @@
...
@@ -59,7 +59,8 @@
android:background=
"@color/light_grey"
android:background=
"@color/light_grey"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
>
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_owner_acceptance_form_detail.xml
View file @
985d60f6
...
@@ -66,7 +66,8 @@
...
@@ -66,7 +66,8 @@
android:layout_height=
"0dp"
android:layout_height=
"0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
>
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_sync.xml
View file @
985d60f6
...
@@ -81,7 +81,8 @@
...
@@ -81,7 +81,8 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/status"
>
app:layout_constraintTop_toBottomOf=
"@+id/status"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_transaction_details.xml
View file @
985d60f6
...
@@ -55,7 +55,8 @@
...
@@ -55,7 +55,8 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
app:layout_constraintTop_toBottomOf=
"@+id/top_nav"
app:layout_constraintBottom_toBottomOf=
"parent"
>
app:layout_constraintBottom_toBottomOf=
"parent"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
app/src/main/res/layout/activity_withdraw_issue.xml
View file @
985d60f6
...
@@ -172,7 +172,8 @@
...
@@ -172,7 +172,8 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toTopOf=
"@+id/bottom_bar"
app:layout_constraintBottom_toTopOf=
"@+id/bottom_bar"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/mid_bar"
>
app:layout_constraintTop_toBottomOf=
"@+id/mid_bar"
android:scrollbars=
"none"
>
<LinearLayout
<LinearLayout
...
...
app/src/main/res/layout/activity_withdraw_issue_summary.xml
View file @
985d60f6
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
android:layout_height=
"59dp"
>
android:layout_height=
"59dp"
>
<ImageButton
<ImageButton
android:id=
"@+id/back
B
utton"
android:id=
"@+id/back
_b
utton"
android:layout_width=
"32dp"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_height=
"32dp"
android:layout_marginStart=
"16dp"
android:layout_marginStart=
"16dp"
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<EditText
<EditText
android:id=
"@+id/remarks"
android:id=
"@+id/
input_
remarks"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"115dp"
android:layout_height=
"115dp"
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
app:layout_constraintStart_toStartOf=
"parent"
>
app:layout_constraintStart_toStartOf=
"parent"
>
<Button
<Button
android:id=
"@+id/back
ButtonB
ot"
android:id=
"@+id/back
_button_b
ot"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"64dp"
android:layout_height=
"64dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
...
...
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