Skip to content

Commit fb815f0

Browse files
318anushkaashishkumar468
authored andcommitted
Fast scroll issue fixed (commons-app#3593)
* fast scroll fixed in explore activity * fast scroll fixed in explore activity * fast scroll issue in explore * fastscroll removed from explore
1 parent 3f63b4a commit fb815f0

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

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

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,40 @@
22
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
44
android:id="@+id/parentLayout"
5+
android:orientation="vertical"
56
android:layout_width="match_parent"
6-
android:layout_height="match_parent">
7+
android:layout_height="match_parent"
8+
android:background="?attr/mainBackground">
79

810
<TextView
9-
android:id="@+id/statusMessage"
1011
android:layout_width="wrap_content"
1112
android:layout_height="wrap_content"
12-
android:layout_centerHorizontal="true"
13-
android:layout_centerVertical="true"
14-
android:layout_gravity="center"
1513
android:text="@string/waiting_first_sync"
14+
android:id="@+id/statusMessage"
15+
android:layout_gravity="center"
1616
android:visibility="gone"
17-
tools:visibility="visible" />
17+
tools:visibility="visible"
18+
android:layout_centerHorizontal="true"
19+
android:layout_centerVertical="true"
20+
/>
1821

1922
<ProgressBar
20-
android:id="@+id/loadingImagesProgressBar"
2123
android:layout_width="wrap_content"
2224
android:layout_height="wrap_content"
2325
android:layout_centerInParent="true"
24-
android:visibility="gone" />
26+
android:visibility="gone"
27+
android:id="@+id/loadingImagesProgressBar"
28+
/>
2529

26-
<androidx.recyclerview.widget.RecyclerView
27-
android:id="@+id/listView"
28-
android:layout_width="match_parent"
30+
<GridView
31+
android:id="@+id/categoryImagesList"
2932
android:layout_height="match_parent"
33+
android:layout_width="match_parent"
34+
android:stretchMode="columnWidth"
35+
android:columnWidth="@dimen/very_large_height"
36+
android:numColumns="auto_fit"
37+
android:listSelector="@null"
38+
android:fadingEdge="none"
3039
/>
3140

3241
</RelativeLayout>

0 commit comments

Comments
 (0)