summaryrefslogtreecommitdiff
path: root/res/layout/article_fragment.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-23 19:38:21 +0300
committerAndrew Dolgov <[email protected]>2011-11-23 19:38:21 +0300
commitd391312d04027d1d8e8983be76e10ef684018927 (patch)
tree0aa18766bf0794d23975891cf734544c505427ce /res/layout/article_fragment.xml
parentacd27869614a60610a93f59dbf6869059ee5dc81 (diff)
rework fragment interaction through listeners
articlefragment now works
Diffstat (limited to 'res/layout/article_fragment.xml')
-rw-r--r--res/layout/article_fragment.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/article_fragment.xml b/res/layout/article_fragment.xml
index cec8e0b2..31a105e4 100644
--- a/res/layout/article_fragment.xml
+++ b/res/layout/article_fragment.xml
@@ -1,7 +1,7 @@
<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" android:orientation="vertical">
- <LinearLayout android:layout_gravity="center_vertical" 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:text="TextView" android:layout_height="wrap_content" android:textColor="#909090" android:layout_width="match_parent" android:id="@+id/title"></TextView>
+ <LinearLayout android:layout_gravity="center_vertical" android:padding="3dip" android:background="#e0e0e0" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:id="@+id/article_header">
+ <TextView android:singleLine="true" android:layout_weight="1" android:text="TextView" android:layout_height="wrap_content" android:textColor="#909090" android:ellipsize="end" 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:padding="3dip" android:layout_width="match_parent" android:id="@+id/content" android:layout_height="match_parent"></WebView>