From 86ed8d3c28e0b3000c9f42ad3c04678c37405814 Mon Sep 17 00:00:00 2001 From: Javier Santos Date: Fri, 23 Sep 2016 13:49:36 +0200 Subject: [PATCH] Add initial support for styles --- .../res/layout/style_dialog_header_icon.xml | 32 +++---------- .../res/layout/style_dialog_header_title.xml | 33 +++----------- library/src/main/res/values/styles.xml | 45 +++++++++++++++++++ 3 files changed, 59 insertions(+), 51 deletions(-) diff --git a/library/src/main/res/layout/style_dialog_header_icon.xml b/library/src/main/res/layout/style_dialog_header_icon.xml index 63b393f..618a339 100644 --- a/library/src/main/res/layout/style_dialog_header_icon.xml +++ b/library/src/main/res/layout/style_dialog_header_icon.xml @@ -25,29 +25,16 @@ + android:layout_height="wrap_content" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + android:layout_width="match_parent" /> \ No newline at end of file diff --git a/library/src/main/res/layout/style_dialog_header_title.xml b/library/src/main/res/layout/style_dialog_header_title.xml index c310ac0..26dfb25 100644 --- a/library/src/main/res/layout/style_dialog_header_title.xml +++ b/library/src/main/res/layout/style_dialog_header_title.xml @@ -18,32 +18,18 @@ android:scaleType="centerCrop" /> + android:layout_height="wrap_content" /> + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + android:layout_width="match_parent" /> \ No newline at end of file diff --git a/library/src/main/res/values/styles.xml b/library/src/main/res/values/styles.xml index 714a4c1..b6cf6e9 100644 --- a/library/src/main/res/values/styles.xml +++ b/library/src/main/res/values/styles.xml @@ -1,5 +1,50 @@ + + + + + + + +