Merge app menus into one View all apps menu

+ Apps can be launched
+ Apps can be removed
+ In the `Choose App` for action menu, the delete option is hidden
+ The recycler is a little faster as I asynchronously cache it in 
`onCreate`
This commit is contained in:
Finn M Glas 2020-05-27 12:24:37 +02:00
parent 9fa009bf99
commit 52c9a99e01
No known key found for this signature in database
GPG key ID: 25037A2E81AB459C
11 changed files with 61 additions and 51 deletions

View file

@ -17,14 +17,29 @@
<TextView
android:id="@+id/choose_row_app_name"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="60sp"
android:layout_marginLeft="60sp"
android:layout_marginEnd="5dp"
android:layout_marginRight="5dp"
android:gravity="start"
android:text=""
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/choose_row_app_delete"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
app:layout_constraintTop_toTopOf="parent" />
<com.finnmglas.launcher.extern.FontAwesome
android:id="@+id/choose_row_app_delete"
android:layout_width="20sp"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/fas_trash"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>