1
0
Fork 0
mirror of https://github.com/jrpie/Launcher.git synced 2025-05-02 16:50:56 +02:00

Clean up code in the Choose Activity

This branch now does way more than just fixing the back screen issue. It 
became more of a cleanup branch to be merged into master ^^
This commit is contained in:
Finn M Glas 2020-05-19 15:01:26 +02:00
parent b8d1880fbc
commit 12357583c6
No known key found for this signature in database
GPG key ID: 25037A2E81AB459C
4 changed files with 26 additions and 29 deletions
app/src/main/res

View file

@ -11,7 +11,7 @@
android:id="@+id/heading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Choose App"
android:text="@string/choose_title"
android:textColor="#cccccc"
android:textSize="36sp"
app:layout_constraintBottom_toBottomOf="parent"
@ -55,11 +55,10 @@
</ScrollView>
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="backHome"
android:text="Back to Settings"
android:text="@string/choose_back_settings"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

View file

@ -24,6 +24,16 @@
<string name="settings_footer_by">By</string>
<!-- Choose Activity -->
<string name="choose_title">Choose App</string>
<string name="choose_title_launch">Launch Apps</string>
<string name="choose_title_remove">Uninstall Apps</string>
<string name="choose_back_settings">Back to Settings</string>
<string name="choose_removed_toast">Removed the selected application</string>
<string name="choose_not_removed_toast">Unable to remove application</string>
<!-- Errors, Exceptions (Alerts, Toasts ...) -->
<string name="none_found">None found</string>