Commit 5841e26e authored by Mygod's avatar Mygod

Fix AppManager crash

parent 8b293dac
...@@ -44,28 +44,22 @@ ...@@ -44,28 +44,22 @@
</LinearLayout> </LinearLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/snackbar" android:id="@+id/snackbar"
android:background="@color/material_primary_700"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1"> android:layout_weight="1">
<FrameLayout android:layout_width="match_parent" <ProgressBar android:id="@+id/loading"
android:layout_height="match_parent" android:layout_width="wrap_content"
android:background="?android:attr/windowBackground" android:layout_height="wrap_content"
app:layout_behavior="com.github.shadowsocks.widget.ShrinkUpwardBehavior"> android:layout_gravity="center" />
<ProgressBar android:id="@+id/loading" <androidx.recyclerview.widget.RecyclerView
android:layout_width="wrap_content" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="fill_parent"
android:layout_gravity="center" /> android:id="@+id/list"
<androidx.recyclerview.widget.RecyclerView app:fastScrollEnabled="true"
android:layout_width="fill_parent" app:fastScrollHorizontalThumbDrawable="@drawable/fastscroll_thumb"
android:layout_height="fill_parent" app:fastScrollHorizontalTrackDrawable="@drawable/fastscroll_line"
android:id="@+id/list" app:fastScrollVerticalThumbDrawable="@drawable/fastscroll_thumb"
app:fastScrollEnabled="true" app:fastScrollVerticalTrackDrawable="@drawable/fastscroll_line"
app:fastScrollHorizontalThumbDrawable="@drawable/fastscroll_thumb" tools:listitem="@layout/layout_apps_item"/>
app:fastScrollHorizontalTrackDrawable="@drawable/fastscroll_line"
app:fastScrollVerticalThumbDrawable="@drawable/fastscroll_thumb"
app:fastScrollVerticalTrackDrawable="@drawable/fastscroll_line"
tools:listitem="@layout/layout_apps_item"/>
</FrameLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout> </LinearLayout>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment