diff options
author | Andrew Dolgov <[email protected]> | 2015-12-02 13:38:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-12-02 13:38:05 +0300 |
commit | 13472a2a2e2068115e8ea3084bd90e363127907c (patch) | |
tree | 4d826200c7b58000c821d57d5361159757272e53 /org.fox.ttrss/src/main/res/layout | |
parent | 7c0b223f6dfa8927e57c0fee06cdba940206c741 (diff) |
add overflow icon to flavor image
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/headlines_row.xml | 19 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml | 17 |
2 files changed, 31 insertions, 5 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row.xml b/org.fox.ttrss/src/main/res/layout/headlines_row.xml index f06e1d40..7c66087e 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml @@ -120,15 +120,28 @@ android:id="@+id/flavor_video_kind" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="bottom|right" + android:layout_gravity="left|bottom" android:scaleType="fitXY" android:src="@drawable/ic_play_circle" android:visibility="visible" android:layout_below="@+id/headline_header" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" - android:layout_marginRight="8dp" - android:layout_marginBottom="8dp" /> + android:layout_marginBottom="8dp" + android:layout_marginLeft="8dp" /> + + <ImageView + android:id="@+id/flavor_image_overflow" + android:clickable="true" + android:layout_width="wrap_content" + android:layout_height="24dp" + android:layout_weight="0" + android:background="@drawable/ripple" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:src="@drawable/ic_dots_vertical" + android:layout_gravity="bottom|right" + android:layout_marginBottom="10dp" /> </FrameLayout> </TableRow> diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml index cca55565..9330bc00 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml @@ -121,16 +121,29 @@ android:id="@+id/flavor_video_kind" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="bottom|right" + android:layout_gravity="bottom|left" android:scaleType="fitXY" android:src="@drawable/ic_play_circle" android:visibility="visible" android:layout_below="@+id/headline_header" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" - android:layout_marginRight="8dp" + android:layout_marginLeft="8dp" android:layout_marginBottom="8dp" /> + <ImageView + android:id="@+id/flavor_image_overflow" + android:clickable="true" + android:layout_width="wrap_content" + android:layout_height="24dp" + android:layout_weight="0" + android:background="@drawable/ripple" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:src="@drawable/ic_dots_vertical" + android:layout_gravity="bottom|right" + android:layout_marginBottom="10dp" /> + </FrameLayout> </TableRow> |