diff options
author | Andrew Dolgov <[email protected]> | 2011-09-09 20:36:09 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-09-09 20:36:09 +0400 |
commit | afc8996fff1dfb8b4fa36db7a965100eafe3c852 (patch) | |
tree | b311bd3e00fcb761451a917f0e838839f08fa914 /res/layout/article_fragment.xml | |
parent | fb7054eb18d45ea641bf1e7177ad4ae41a7d52d2 (diff) |
implement webview for content
Diffstat (limited to 'res/layout/article_fragment.xml')
-rw-r--r-- | res/layout/article_fragment.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/res/layout/article_fragment.xml b/res/layout/article_fragment.xml index cc65deff..1c54d3d7 100644 --- a/res/layout/article_fragment.xml +++ b/res/layout/article_fragment.xml @@ -1,7 +1,8 @@ - <LinearLayout android:id="@+id/article_fragment" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> - <ImageView android:paddingRight="2dip" android:layout_height="match_parent" android:background="?feedlistDivider" android:layout_width="wrap_content" android:paddingLeft="2dip"></ImageView> - <LinearLayout android:gravity="center" android:layout_height="match_parent" android:id="@+id/linearLayout1" android:layout_width="match_parent"> - <TextView android:text="--- Article ---" android:id="@+id/textView1" android:layout_height="wrap_content" android:layout_width="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge"></TextView> + <LinearLayout android:padding="6dip" android:id="@+id/article_fragment" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"> + <LinearLayout android:layout_margin="12dip" android:padding="6dip" android:background="#e0e0e0" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:id="@+id/article_header"> + <TextView android:layout_weight="1" android:textAppearance="?android:attr/textAppearanceLarge" android:text="TextView" android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/title"></TextView> + <Button android:text="Close" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/close_button"></Button> </LinearLayout> + <WebView android:layout_width="match_parent" android:id="@+id/content" android:layout_height="match_parent"></WebView> </LinearLayout> |