From: Koushik Dutta Date: Tue, 26 Feb 2013 02:41:39 +0000 (-0800) Subject: margin fixes when theres no icon X-Git-Tag: android-x86-4.4-r1~29 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-koush-Widgets.git;a=commitdiff_plain;h=366824b8bd518eded52374af7bbf97f49c99951a margin fixes when theres no icon --- diff --git a/Widgets/res/layout-v14/list_item_base.xml b/Widgets/res/layout-v14/list_item_base.xml index ded1e0b..3741985 100644 --- a/Widgets/res/layout-v14/list_item_base.xml +++ b/Widgets/res/layout-v14/list_item_base.xml @@ -10,7 +10,7 @@ android:layout_width="48dp" android:layout_height="32dp" android:layout_gravity="center_vertical" - android:layout_margin="@dimen/section_padding" + android:layout_marginLeft="@dimen/section_padding" android:scaleType="fitCenter" > @@ -18,6 +18,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_gravity="center_vertical" + android:layout_marginLeft="@dimen/section_padding" android:layout_weight="1" android:orientation="vertical" > diff --git a/Widgets/res/layout/list_item_base.xml b/Widgets/res/layout/list_item_base.xml index 722f0a9..e44df3c 100644 --- a/Widgets/res/layout/list_item_base.xml +++ b/Widgets/res/layout/list_item_base.xml @@ -1,12 +1,12 @@ - + @@ -14,6 +14,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_gravity="center_vertical" + android:layout_marginLeft="@dimen/section_padding" android:layout_weight="1" android:orientation="vertical" >