Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-koush-Widgets: Commit

external/koush/Widgets


Commit MetaInfo

Révision642ab3452659879a5a8326370d4518b802352dd2 (tree)
l'heure2019-12-24 12:12:57
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

Fix crashing

I don't know the root cause and how to fix it properly.
Just work around it.

Change Summary

Modification

--- a/Widgets/res/layout/list_content_header.xml
+++ b/Widgets/res/layout/list_content_header.xml
@@ -1,8 +1,8 @@
11 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:layout_width="fill_parent"
33 android:layout_height="wrap_content"
4- android:paddingRight="?attr/listPreferredItemPaddingRight"
5- android:paddingLeft="?attr/listPreferredItemPaddingLeft" >
4+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
5+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" >
66
77 <TextView
88 android:id="@android:id/text1"
--- a/Widgets/res/layout/list_header.xml
+++ b/Widgets/res/layout/list_header.xml
@@ -1,14 +1,14 @@
11 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:layout_width="fill_parent"
33 android:layout_height="wrap_content"
4- android:paddingRight="?attr/listPreferredItemPaddingRight"
5- android:paddingLeft="?attr/listPreferredItemPaddingLeft" >
4+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
5+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" >
66
77 <TextView
88 android:id="@android:id/text1"
99 style="?android:attr/listSeparatorTextViewStyle"
1010 android:layout_width="fill_parent"
1111 android:layout_height="wrap_content"
12- android:textColor="?attr/listHeaderTextColor" />
12+ android:textColor="?android:attr/colorAccent" />
1313
1414 </LinearLayout>
\ No newline at end of file
--- a/Widgets/res/layout/list_item.xml
+++ b/Widgets/res/layout/list_item.xml
@@ -1,7 +1,7 @@
11 <?xml version="1.0" encoding="utf-8"?>
22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3- android:paddingRight="?attr/listPreferredItemPaddingRight"
4- android:paddingLeft="?attr/listPreferredItemPaddingLeft"
3+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
4+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
55 android:paddingTop="8dip"
66 android:paddingBottom="8dip"
77 android:layout_width="fill_parent"
--- a/Widgets/res/layout/list_item_base.xml
+++ b/Widgets/res/layout/list_item_base.xml
@@ -3,8 +3,8 @@
33
44 <ImageView
55 android:id="@+id/image"
6- android:layout_width="?attr/iconSize"
7- android:layout_height="?attr/iconSize"
6+ android:layout_width="24dp"
7+ android:layout_height="24dp"
88 android:layout_gravity="center_vertical"
99 android:scaleType="fitCenter" >
1010 </ImageView>
--- a/Widgets/res/layout/list_item_selectable.xml
+++ b/Widgets/res/layout/list_item_selectable.xml
@@ -5,8 +5,8 @@
55 android:minHeight="?android:attr/listPreferredItemHeight"
66 android:orientation="horizontal"
77 android:paddingBottom="8dip"
8- android:paddingRight="?attr/listPreferredItemPaddingRight"
9- android:paddingLeft="?attr/listPreferredItemPaddingLeft"
8+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
9+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
1010 android:paddingTop="8dip" >
1111
1212 <include layout="@layout/list_item_base" />
Afficher sur ancien navigateur de dépôt.