From 4ca4e7b45ccdc4af78782a7f1177692e1f5328c5 Mon Sep 17 00:00:00 2001 From: Dan Galpin Date: Mon, 25 May 2015 01:49:07 -0700 Subject: [PATCH] Updated the detail layout to make use of a secondary grid layout. --- app/src/main/res/layout/fragment_detail.xml | 148 ++++++++------------ 1 file changed, 58 insertions(+), 90 deletions(-) diff --git a/app/src/main/res/layout/fragment_detail.xml b/app/src/main/res/layout/fragment_detail.xml index f4108dd..083ea10 100644 --- a/app/src/main/res/layout/fragment_detail.xml +++ b/app/src/main/res/layout/fragment_detail.xml @@ -14,8 +14,10 @@ limitations under the License. --> - @@ -31,110 +33,76 @@ android:layout_height="0dp" android:layout_weight="3"/> - + android:paddingRight="@dimen/forecast_detail_horizontal_padding" + android:paddingEnd="@dimen/forecast_detail_horizontal_padding"> - + android:fontFamily="sans-serif" + android:gravity="center_vertical" + android:text="@string/humidity" + android:textAppearance="@style/TextAppearance.AppCompat.Title" + android:textColor="@color/detail_accent_label" + app:layout_columnWeight="1" + app:layout_gravity="fill" + app:layout_rowWeight="1" /> - + - - + - + - + - + + - - - - - - - - - - - -