mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-30 21:07:11 +01:00
Change the go to top icon
Changed to use a double up arrow icon
This commit is contained in:
parent
a651935fa5
commit
97d630392c
@ -576,7 +576,7 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb
|
|||||||
case SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_GILDED:
|
case SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_GILDED:
|
||||||
return R.drawable.ic_star_border_24dp;
|
return R.drawable.ic_star_border_24dp;
|
||||||
case SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_GO_TO_TOP:
|
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:
|
default:
|
||||||
return R.drawable.ic_account_circle_24dp;
|
return R.drawable.ic_account_circle_24dp;
|
||||||
}
|
}
|
||||||
|
@ -752,7 +752,7 @@ public class ViewSubredditDetailActivity extends BaseActivity implements SortTyp
|
|||||||
case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_GILDED:
|
case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_GILDED:
|
||||||
return R.drawable.ic_star_border_24dp;
|
return R.drawable.ic_star_border_24dp;
|
||||||
case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_GO_TO_TOP:
|
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:
|
default:
|
||||||
return R.drawable.ic_account_circle_24dp;
|
return R.drawable.ic_account_circle_24dp;
|
||||||
}
|
}
|
||||||
|
13
app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml
Normal file
13
app/src/main/res/drawable/ic_keyboard_double_arrow_up_24.xml
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user