From: Chih-Wei Huang Date: Tue, 24 Dec 2019 03:12:57 +0000 (+0800) Subject: Fix crashing X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-koush-Widgets.git;a=commitdiff_plain;h=refs%2Fheads%2Fq-x86 Fix crashing I don't know the root cause and how to fix it properly. Just work around it. --- diff --git a/Widgets/res/layout/list_content_header.xml b/Widgets/res/layout/list_content_header.xml index e2080dc..7579690 100644 --- a/Widgets/res/layout/list_content_header.xml +++ b/Widgets/res/layout/list_content_header.xml @@ -1,8 +1,8 @@ + android:paddingRight="?android:attr/listPreferredItemPaddingRight" + android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" > + android:paddingRight="?android:attr/listPreferredItemPaddingRight" + android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" > + android:textColor="?android:attr/colorAccent" /> \ No newline at end of file diff --git a/Widgets/res/layout/list_item.xml b/Widgets/res/layout/list_item.xml index fcde32a..ad4819e 100644 --- a/Widgets/res/layout/list_item.xml +++ b/Widgets/res/layout/list_item.xml @@ -1,7 +1,7 @@ diff --git a/Widgets/res/layout/list_item_selectable.xml b/Widgets/res/layout/list_item_selectable.xml index db3ef72..3fbdc52 100644 --- a/Widgets/res/layout/list_item_selectable.xml +++ b/Widgets/res/layout/list_item_selectable.xml @@ -5,8 +5,8 @@ android:minHeight="?android:attr/listPreferredItemHeight" android:orientation="horizontal" android:paddingBottom="8dip" - android:paddingRight="?attr/listPreferredItemPaddingRight" - android:paddingLeft="?attr/listPreferredItemPaddingLeft" + android:paddingRight="?android:attr/listPreferredItemPaddingRight" + android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" android:paddingTop="8dip" >