Skip to content

Commit f283133

Browse files
Add FIXME comments for layout performance and simplification
1 parent c58cfe2 commit f283133

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/src/main/res/layout/activity_shortcuts_navigation_and_searching.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
android:layout_width="match_parent"
77
android:layout_height="match_parent">
88

9+
<!-- FIXME: `activity_shortcuts_navigation_and_searching.xml` has more than 80 views, bad for performance-->
10+
911
<me.zhanghai.android.fastscroll.FastScrollScrollView
1012
android:id="@+id/scroll_view"
1113
android:layout_width="0dp"

app/src/main/res/layout/item_android_studio_category.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
android:orientation="horizontal"
88
android:padding="16dp">
99

10+
<!-- FIXME: This tag and its children can be replaced by one `<TextView/>` and a compound drawable-->
11+
1012
<ImageView
1113
android:id="@+id/category_icon"
1214
android:layout_width="24dp"

0 commit comments

Comments
 (0)