Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0a0f9fb7
authored
Sep 12, 2016
by
Krishna Vemulavada
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
change the incidents fecth text
parent
7f9f5d8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/src/main/java/com/vsoft/uoflservicenow/adapters/MyRequestAdapter.java
app/src/main/res/values/strings.xml
app/src/main/java/com/vsoft/uoflservicenow/adapters/MyRequestAdapter.java
View file @
0a0f9fb7
...
...
@@ -89,7 +89,7 @@ public class MyRequestAdapter extends BaseAdapter {
}
else
if
(
req
.
getApproval
().
equalsIgnoreCase
(
"approved"
))
{
holder
.
approval
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
approved
));
((
GradientDrawable
)
holder
.
statusIndicator
.
getBackground
()).
setColor
(
Color
.
parseColor
(
"#06D323"
));
}
else
{
}
else
if
(
req
.
getApproval
().
equalsIgnoreCase
(
"rejected"
))
{
holder
.
approval
.
setText
(
mContext
.
getResources
().
getString
(
R
.
string
.
rejected
));
((
GradientDrawable
)
holder
.
statusIndicator
.
getBackground
()).
setColor
(
Color
.
parseColor
(
"#FF0000"
));
}
...
...
app/src/main/res/values/strings.xml
View file @
0a0f9fb7
...
...
@@ -34,7 +34,7 @@
<string
name=
"failed_to_fetch_catalogue_form_string"
>
Failed to fetch Form.
</string>
<string
name=
"failed_to_fetch_reference_string"
>
Failed to fetch References.
</string>
<string
name=
"failed_to_submit_form_string"
>
Failed to submit form.
</string>
<string
name=
"failed_to_fetch_incident_string"
>
Failed to fetch
Incident
.
</string>
<string
name=
"failed_to_fetch_incident_string"
>
Failed to fetch
incidents
.
</string>
<!--Login Screen-->
<string
name=
"login_screen_login_string"
>
Login
</string>
...
...
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