Add a clickable settings icon

Make it easier and more intuitive for users to acess settings. Thanks 
for the feedback that helped me think of this.
This commit is contained in:
Finn M Glas 2020-05-21 06:37:12 +02:00
parent c32018f72d
commit 0e4cc63554
3 changed files with 60 additions and 5 deletions

View file

@ -36,4 +36,20 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.finnmglas.launcher.FontAwesomeSolid
android:id="@+id/settingstooltip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="settingsIconOnTouch"
android:text="@string/fas_settings"
android:textColor="#ccc"
android:textSize="36sp"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.95"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.95" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -3,6 +3,7 @@
<string name="fas_bars" translatable="false">&#xf0c9;</string>
<string name="fas_home" translatable="false">&#xf015;</string>
<string name="fas_globe" translatable="false">&#xf0ac;</string>
<string name="fas_settings" translatable="false">&#xf013;</string>
<string name="fas_star" translatable="false">&#xf005;</string>
<string name="far_star" translatable="false">&#xf005;</string>