store info webview fix
This commit is contained in:
@@ -93,7 +93,11 @@ public class StoreInfoFragment extends BaseFragment {
|
|||||||
|
|
||||||
private String createFixedHTML(String html){
|
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);
|
//html = removeHs(html);
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,13 @@
|
|||||||
app:cardCornerRadius="4dp"
|
app:cardCornerRadius="4dp"
|
||||||
android:layout_margin="12dp">
|
android:layout_margin="12dp">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<WebView
|
||||||
|
android:id="@+id/storeInfoWebView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent" />
|
||||||
|
-->
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
|||||||
Reference in New Issue
Block a user