Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions app/src/main/res/drawable/ic_github.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- GitHub mark - tinted to match the signature accent color -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/title_bar_background_color"
android:pathData="M12,2C6.48,2 2,6.48 2,12c0,4.42 2.87,8.17 6.84,9.5c0.5,0.09 0.68,-0.22 0.68,-0.48c0,-0.24 -0.01,-0.87 -0.01,-1.7c-2.78,0.6 -3.37,-1.34 -3.37,-1.34c-0.45,-1.16 -1.11,-1.47 -1.11,-1.47c-0.91,-0.62 0.07,-0.61 0.07,-0.61c1,0.07 1.53,1.03 1.53,1.03c0.89,1.53 2.34,1.09 2.91,0.83c0.09,-0.65 0.35,-1.09 0.63,-1.34c-2.22,-0.25 -4.55,-1.11 -4.55,-4.94c0,-1.09 0.39,-1.99 1.03,-2.69c-0.1,-0.25 -0.45,-1.27 0.1,-2.65c0,0 0.84,-0.27 2.75,1.03c0.8,-0.22 1.65,-0.33 2.5,-0.34c0.85,0.01 1.7,0.12 2.5,0.34c1.91,-1.3 2.75,-1.03 2.75,-1.03c0.55,1.38 0.2,2.4 0.1,2.65c0.64,0.7 1.03,1.6 1.03,2.69c0,3.84 -2.34,4.69 -4.57,4.94c0.36,0.31 0.68,0.92 0.68,1.85c0,1.34 -0.01,2.42 -0.01,2.75c0,0.27 0.18,0.58 0.69,0.48C19.14,20.16 22,16.42 22,12C22,6.48 17.52,2 12,2z" />
</vector>
25 changes: 17 additions & 8 deletions app/src/main/res/layout/fragment_signature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
android:id="@+id/developerSignatureLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:orientation="horizontal"
android:gravity="center"
android:paddingTop="8dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:background="?attr/selectableItemBackground"
android:clickable="true"
Expand All @@ -18,7 +18,7 @@
android:text="@string/developed_by"
android:textSize="11sp"
android:textColor="@color/battery_details_label_color"
android:layout_marginBottom="2dp" />
android:layout_marginEnd="5dp" />

<TextView
android:layout_width="wrap_content"
Expand All @@ -27,14 +27,23 @@
android:textSize="12sp"
android:textStyle="bold"
android:textColor="@color/title_bar_background_color"
android:layout_marginBottom="2dp" />
android:layout_marginEnd="8dp" />

<ImageView
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_gravity="center_vertical"
android:layout_marginEnd="3dp"
android:layout_marginBottom="1dp"
android:src="@drawable/ic_github"
android:importantForAccessibility="no" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/developer_link"
android:textSize="11sp"
android:textColor="@color/title_bar_background_color"
android:textStyle="italic" />
android:text="@string/developer_handle"
android:textSize="12sp"
android:textStyle="italic"
android:textColor="@color/title_bar_background_color" />

</LinearLayout>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
<string name="developed_by">Developed by</string>
<string name="developer_name">Al-Mothafar Al-Hasan</string>
<string name="developer_link" translatable="false">github.com/almothafar</string>
<string name="developer_handle" translatable="false">@almothafar</string>

<!-- Shown after the user grants the notification permission -->
<string name="notifications_enabled_toast">Thank you! Notifications are now enabled.</string>
Expand Down