From 4c4852129e66b28cff0972b696ef409eb46d607e Mon Sep 17 00:00:00 2001 From: Coffeemakr <> Date: Sun, 18 Jun 2017 17:17:27 +0200 Subject: [PATCH] Layout fixes * Add selectableItemBackground to the player button * Make uploader margin to padding * Convert layout gravity center_horizontal to width=match_parent --- .../main/res/layout/fragment_video_detail.xml | 37 ++++++------------- 1 file changed, 11 insertions(+), 26 deletions(-) diff --git a/app/src/main/res/layout/fragment_video_detail.xml b/app/src/main/res/layout/fragment_video_detail.xml index e10413ad5..0006d0004 100644 --- a/app/src/main/res/layout/fragment_video_detail.xml +++ b/app/src/main/res/layout/fragment_video_detail.xml @@ -25,7 +25,9 @@ android:id="@+id/detail_thumbnail_root_layout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@android:color/black"> + android:background="@android:color/black" + android:clickable="true" + android:foreground="?attr/selectableItemBackground"> @@ -115,8 +116,6 @@ android:orientation="horizontal"> - - - + android:orientation="horizontal" + android:paddingBottom="8dp" + android:paddingLeft="12dp" + android:paddingRight="12dp" + android:paddingTop="8dp"> - - -