diff --git a/android-app.iml b/android-app.iml index 33d9feb..4e9a28d 100644 --- a/android-app.iml +++ b/android-app.iml @@ -51,7 +51,25 @@ - + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/article.xml b/res/layout/article.xml index 210eb1d..eb1bd3e 100644 --- a/res/layout/article.xml +++ b/res/layout/article.xml @@ -32,11 +32,10 @@ android:layout_marginTop="5sp" android:background="#000000" /> - + android:layout_height="wrap_content" /> \n" + + "\t\t\n" + + "\t\t\n" + + "\t\n" + + "\t\t
\n" + + "\t\t\t\n" + + "\t\t\t\t
\n" + + "\t\t\t\t\t
\n" + + "\t\t\t\t\t\t
"; + String htmlFooter = "
\n" + + "\t\t\t\t\t
\n" + + "\t\t\t\t
\n" + + "\t\t\t\n" + + "\t\t
\n" + + ""; + String htmlContent = ac.getString(3); + + + webViewContent = (WebView)findViewById(R.id.webViewContent); + webViewContent.loadData(htmlHeader + htmlContent + htmlFooter, "text/html; charset=utf-8", null); + + txtAuthor = (TextView)findViewById(R.id.txtAuthor); txtAuthor.setText(ac.getString(0)); btnMarkRead = (Button)findViewById(R.id.btnMarkRead);