From 0d3c52bac701f59b08dca0c6c361882dfd6b4d98 Mon Sep 17 00:00:00 2001 From: oakes Date: Wed, 18 Dec 2013 12:49:41 -0500 Subject: [PATCH] Fix tile layout --- android/src/clojure/net/nightweb/views.clj | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/android/src/clojure/net/nightweb/views.clj b/android/src/clojure/net/nightweb/views.clj index 9217d82..c80c802 100644 --- a/android/src/clojure/net/nightweb/views.clj +++ b/android/src/clojure/net/nightweb/views.clj @@ -51,15 +51,14 @@ [:text-view {:text-color Color/WHITE :layout-width :fill :layout-weight 1}] - [:linear-layout {:orientation 0} + [:linear-layout {:orientation 0 + :layout-width :fill} [:text-view {:text-color Color/WHITE :single-line true - :layout-width :fill - :layout-height :fill :layout-weight 1 :ellipsize end}] [:text-view {:text-color Color/WHITE - :layout-width :fill}]]]]) + :single-line true}]]]]) ^ImageView image (.getChildAt tile-view 0) ^LinearLayout linear-layout (.getChildAt tile-view 1) ^TextView text-top (.getChildAt linear-layout 0)