Skip to content

Commit

Permalink
ui: fine tune icons
Browse files Browse the repository at this point in the history
  • Loading branch information
plateaukao committed May 30, 2022
1 parent f8895e5 commit ea4ac76
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_location.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#000000"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="?attr/colorControlNormal" android:pathData="M12,2C8.13,2 5,5.13 5,9c0,5.25 7,13 7,13s7,-7.75 7,-13c0,-3.87 -3.13,-7 -7,-7zM12,11.5c-1.38,0 -2.5,-1.12 -2.5,-2.5s1.12,-2.5 2.5,-2.5 2.5,1.12 2.5,2.5 -1.12,2.5 -2.5,2.5z"/>
</vector>
7 changes: 0 additions & 7 deletions app/src/main/res/drawable/icon_location.xml

This file was deleted.

4 changes: 2 additions & 2 deletions app/src/main/res/layout/dialog_toggle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
android:layout_height="match_parent"
android:layout_marginEnd="16dp"
android:scaleType="fitCenter"
android:src="@drawable/icon_cookie"/>
android:src="@drawable/icon_java"/>

<TextView
android:layout_width="0dp"
Expand Down Expand Up @@ -222,7 +222,7 @@
android:layout_height="match_parent"
android:layout_marginEnd="16dp"
android:scaleType="fitCenter"
android:src="@drawable/icon_location"/>
android:src="@drawable/ic_location"/>

<TextView
android:layout_width="0dp"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/preference_start.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
android:summary="@string/setting_summary_remote"/>

<CheckBoxPreference android:key="@string/sp_location"
android:icon="@drawable/icon_location"
android:icon="@drawable/ic_location"
android:defaultValue="false"
android:title="@string/setting_title_location"
android:summary="@string/setting_summary_location"/>
Expand Down

0 comments on commit ea4ac76

Please sign in to comment.