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
e7724bc7
authored
Sep 09, 2016
by
Kunj Gupta
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
UOFLMA-75: Fix - Table view is not displaying.
parent
68282235
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
app/src/main/java/com/vsoft/uoflservicenow/ui/CatalogueVariableScreen.java
app/src/main/java/com/vsoft/uoflservicenow/ui/CatalogueVariableScreen.java
View file @
e7724bc7
...
@@ -19,6 +19,7 @@ import android.text.method.LinkMovementMethod;
...
@@ -19,6 +19,7 @@ import android.text.method.LinkMovementMethod;
import
android.view.MenuItem
;
import
android.view.MenuItem
;
import
android.view.MotionEvent
;
import
android.view.MotionEvent
;
import
android.view.View
;
import
android.view.View
;
import
android.webkit.WebView
;
import
android.widget.DatePicker
;
import
android.widget.DatePicker
;
import
android.widget.EditText
;
import
android.widget.EditText
;
import
android.widget.LinearLayout
;
import
android.widget.LinearLayout
;
...
@@ -217,14 +218,8 @@ public class CatalogueVariableScreen extends AppCompatActivity {
...
@@ -217,14 +218,8 @@ public class CatalogueVariableScreen extends AppCompatActivity {
}
}
if
(
mCatalogueItemDescription
!=
null
&&
!
mCatalogueItemDescription
.
isEmpty
())
{
if
(
mCatalogueItemDescription
!=
null
&&
!
mCatalogueItemDescription
.
isEmpty
())
{
TextView
descriptionView
=
new
TextView
(
CatalogueVariableScreen
.
this
);
WebView
descriptionView
=
new
WebView
(
CatalogueVariableScreen
.
this
);
descriptionView
.
setMovementMethod
(
LinkMovementMethod
.
getInstance
());
descriptionView
.
loadData
(
mCatalogueItemDescription
,
"text/html; charset=utf-8"
,
"utf-8"
);
if
(
android
.
os
.
Build
.
VERSION
.
SDK_INT
>=
android
.
os
.
Build
.
VERSION_CODES
.
N
)
{
descriptionView
.
setText
(
Html
.
fromHtml
(
mCatalogueItemDescription
,
Html
.
FROM_HTML_MODE_LEGACY
));
}
else
{
descriptionView
.
setText
(
Html
.
fromHtml
(
mCatalogueItemDescription
));
}
mContainerLayout
.
addView
(
descriptionView
,
childControlViewLayoutParams
);
mContainerLayout
.
addView
(
descriptionView
,
childControlViewLayoutParams
);
}
}
...
...
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