store info webview fix

This commit is contained in:
cimenmus
2018-07-05 00:26:27 +03:00
parent 90486130ee
commit b13dbb8651
2 changed files with 12 additions and 1 deletions

View File

@@ -93,7 +93,11 @@ public class StoreInfoFragment extends BaseFragment {
private String createFixedHTML(String html){
String header = "<head><style>img{display: inline; height: auto; max-width: 100%;} html, body { width:100%; height: 100%; margin: 0px; padding: 0px;" + " }</style></head>";
// bunu kullanırsan, layout dosyasındaki yorum satırını aktif yap
String header = "<head><style>img{display: inline; height: auto; max-width: 100%;} html, body { width:100%; height: 100%; margin: 0px; padding: 0px;}</style></head>";
//String header = "<head><style>img{display: inline; height: auto; max-width: 100%;} html, body { width:98%; height: 100%; margin-left: 4px; padding: 0px;}</style></head>";
//html = removeHs(html);

View File

@@ -18,6 +18,13 @@
app:cardCornerRadius="4dp"
android:layout_margin="12dp">
<!--
<WebView
android:id="@+id/storeInfoWebView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
-->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"