diff options
author | Andrew Dolgov <[email protected]> | 2014-10-16 01:21:49 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-16 01:21:49 +0400 |
commit | 8da85b9157ef4ffd8b04a8b817f7c6f51c641c68 (patch) | |
tree | 32d2b77dc33d3aa3e45f9f67d40f139b78f52a02 /res/layout/headlines_row_selected.xml | |
parent | a77d00eeea212f17df05bf63a23745b2d46ba2d3 (diff) |
add headlines flavor images
Diffstat (limited to 'res/layout/headlines_row_selected.xml')
-rw-r--r-- | res/layout/headlines_row_selected.xml | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/res/layout/headlines_row_selected.xml b/res/layout/headlines_row_selected.xml index 0418d7b8..332b239a 100644 --- a/res/layout/headlines_row_selected.xml +++ b/res/layout/headlines_row_selected.xml @@ -72,6 +72,24 @@ android:textSize="12sp" />
</LinearLayout>
+ <FrameLayout
+ android:paddingTop="3dp"
+ android:id="@+id/flavorImageHolder"
+ android:layout_width="match_parent"
+ android:layout_gravity="center"
+ android:layout_height="wrap_content" >
+
+ <ImageView
+ android:id="@+id/flavor_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:adjustViewBounds="true"
+ android:maxHeight="128dp"
+ android:scaleType="centerInside"
+ android:src="@null"
+ android:visibility="gone" />
+ </FrameLayout>
+
<TextView
android:id="@+id/excerpt"
android:layout_width="match_parent"
@@ -81,13 +99,6 @@ android:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
android:textColor="?headlineSelectedExcerptTextColor"
android:textSize="13sp" />
-
- <WebView
- android:id="@+id/content"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="3dp"
- android:visibility="gone" />
<LinearLayout
android:layout_width="match_parent"
|