aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrewrasch <raschykid@gmail.com>2021-09-22 03:29:49 +0000
committerandrewrasch <raschykid@gmail.com>2021-09-22 03:29:49 +0000
commit97d630392cd8161c1428d1451f1690ee2a667830 (patch)
treed02a1cbfb90f625eb739a68c6d6beb43ce1cfa91
parenta651935fa57d26a9a035d82a3936b198625740bd (diff)
downloadinfinity-for-reddit-97d630392cd8161c1428d1451f1690ee2a667830.tar
infinity-for-reddit-97d630392cd8161c1428d1451f1690ee2a667830.tar.gz
infinity-for-reddit-97d630392cd8161c1428d1451f1690ee2a667830.tar.bz2
infinity-for-reddit-97d630392cd8161c1428d1451f1690ee2a667830.tar.lz
infinity-for-reddit-97d630392cd8161c1428d1451f1690ee2a667830.tar.xz
infinity-for-reddit-97d630392cd8161c1428d1451f1690ee2a667830.tar.zst
infinity-for-reddit-97d630392cd8161c1428d1451f1690ee2a667830.zip
Change the go to top icon
Changed to use a double up arrow icon
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java2
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java2
-rw-r--r--app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml13
3 files changed, 15 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
index f2b4b21c..40ae887f 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
@@ -576,7 +576,7 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb
case SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_GILDED:
return R.drawable.ic_star_border_24dp;
case SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_GO_TO_TOP:
- return R.drawable.ic_home_black_24dp;
+ return R.drawable.ic_keyboard_double_arrow_up_24;
default:
return R.drawable.ic_account_circle_24dp;
}
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
index 7371f5d3..54267df9 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
@@ -752,7 +752,7 @@ public class ViewSubredditDetailActivity extends BaseActivity implements SortTyp
case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_GILDED:
return R.drawable.ic_star_border_24dp;
case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_GO_TO_TOP:
- return R.drawable.ic_home_black_24dp;
+ return R.drawable.ic_keyboard_double_arrow_up_24;
default:
return R.drawable.ic_account_circle_24dp;
}
diff --git a/app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml b/app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml
new file mode 100644
index 00000000..fd6c2ac9
--- /dev/null
+++ b/app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml
@@ -0,0 +1,13 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24"
+ android:tint="?attr/colorControlNormal">
+ <path
+ android:fillColor="@android:color/black"
+ android:pathData="M6,17.59l1.41,1.41l4.59,-4.58l4.59,4.58l1.41,-1.41l-6,-6z"/>
+ <path
+ android:fillColor="@android:color/black"
+ android:pathData="M6,11l1.41,1.41l4.59,-4.58l4.59,4.58l1.41,-1.41l-6,-6z"/>
+</vector>