From f20f9c649e89d296557580ab68dfd66bd01a449d Mon Sep 17 00:00:00 2001 From: Stanislav Petryakov Date: Sun, 31 Jul 2016 12:44:16 +0300 Subject: [PATCH] Show aliases instead column names in attributes --- .../java/com/nextgis/mobile/fragment/AttributesFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextgis/mobile/fragment/AttributesFragment.java b/app/src/main/java/com/nextgis/mobile/fragment/AttributesFragment.java index db0d855d..c8d004e1 100644 --- a/app/src/main/java/com/nextgis/mobile/fragment/AttributesFragment.java +++ b/app/src/main/java/com/nextgis/mobile/fragment/AttributesFragment.java @@ -215,7 +215,7 @@ private void setAttributes() final WebView webView = new WebView(getContext()); webView.setVerticalScrollBarEnabled(false); - String data = ""; + String data = "
"; FragmentActivity activity = getActivity(); if (null == activity) @@ -316,7 +316,7 @@ private void setAttributes() break; } - data += getRow(column, text); + data += getRow(field != null ? field.getAlias() : "", text); } data += "
";