Skip to content

Commit

Permalink
Add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
RathanakSreang committed Dec 17, 2023
1 parent 5471709 commit 5aa8819
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions app/src/main/res/drawable/btn_cancel_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<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:fillAlpha="0.3"
android:fillColor="@android:color/white"
android:pathData="M12,4c-4.41,0 -8,3.59 -8,8s3.59,8 8,8 8,-3.59 8,-8 -3.59,-8 -8,-8zM17,15.59L15.59,17 12,13.41 8.41,17 7,15.59 10.59,12 7,8.41 8.41,7 12,10.59 15.59,7 17,8.41 13.41,12 17,15.59z" android:strokeAlpha="0.3"/>
<path android:fillColor="@android:color/white" android:pathData="M12,2C6.47,2 2,6.47 2,12s4.47,10 10,10 10,-4.47 10,-10S17.53,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM15.59,7L12,10.59 8.41,7 7,8.41 10.59,12 7,15.59 8.41,17 12,13.41 15.59,17 17,15.59 13.41,12 17,8.41z"/>
</vector>
12 changes: 12 additions & 0 deletions app/src/main/res/drawable/btn_hdr_auto_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<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:fillAlpha="0.3"
android:fillColor="@android:color/white"
android:pathData="M12.04,8.04l-0.09,0l-1.6,4.55l3.29,0z" android:strokeAlpha="0.3"/>
<path android:fillAlpha="0.3"
android:fillColor="@android:color/white"
android:pathData="M12,4c-4.41,0 -8,3.59 -8,8c0,4.41 3.59,8 8,8s8,-3.59 8,-8C20,7.59 16.41,4 12,4zM15.21,17l-0.98,-2.81H9.78l-1,2.81h-1.9l4.13,-11h1.97l4.13,11H15.21z" android:strokeAlpha="0.3"/>
<path android:fillColor="@android:color/white" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10s10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8c0,-4.41 3.59,-8 8,-8s8,3.59 8,8C20,16.41 16.41,20 12,20z"/>
<path android:fillColor="@android:color/white" android:pathData="M11.01,6L6.88,17h1.9l1,-2.81h4.44L15.21,17h1.9L12.98,6H11.01zM10.35,12.59l1.6,-4.55h0.09l1.6,4.55H10.35z"/>
</vector>
11 changes: 10 additions & 1 deletion app/src/main/res/layout/smartbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
android:id="@+id/settingsList"
android:gravity="right"
android:paddingLeft="5dp"
android:visibility="gone">
android:visibility="visible">
<!-- <ToggleButton-->
<!-- android:id="@+id/btnToggleShowLabel"-->
<!-- android:layout_width="40dp"-->
Expand All @@ -90,6 +90,15 @@
<!-- android:textOff=""-->
<!-- android:textOn=""-->
<!-- android:layout_marginRight="5dp"/>-->
<ToggleButton
android:id="@+id/btnToggleAutoCorrection"
android:layout_width="40dp"
android:layout_height="40dp"
android:checked="true"
android:background="@drawable/btn_hdr_auto_24"
android:textOff=""
android:textOn=""
android:layout_marginRight="5dp"/>
<ToggleButton
android:id="@+id/btnToggleRMCorrection"
android:layout_width="40dp"
Expand Down

0 comments on commit 5aa8819

Please sign in to comment.