Change arrow back drawable

This commit is contained in:
Arne 2024-12-23 17:55:15 +01:00
parent 78a0961c07
commit d0f9114eab
2 changed files with 5 additions and 13 deletions

View file

@ -1424,7 +1424,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
if (actionBar == null) { if (actionBar == null) {
return; return;
} }
actionBar.setHomeAsUpIndicator(0); actionBar.setHomeAsUpIndicator(R.drawable.ic_arrow_back_24dp);
final FragmentManager fragmentManager = getFragmentManager(); final FragmentManager fragmentManager = getFragmentManager();
final Fragment mainFragment = fragmentManager.findFragmentById(R.id.main_fragment); final Fragment mainFragment = fragmentManager.findFragmentById(R.id.main_fragment);
if (mainFragment instanceof ConversationFragment conversationFragment) { if (mainFragment instanceof ConversationFragment conversationFragment) {

View file

@ -1,13 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector xmlns:android="http://schemas.android.com/apk/res/android" android:alpha="0.75" android:height="24dp" android:tint="?colorControlNormal" android:viewportHeight="960" android:viewportWidth="960" android:width="24dp">
android:width="24dp"
android:height="24dp" <path android:fillColor="@android:color/white" android:pathData="M382,480L676,774Q691,789 690.5,809Q690,829 675,844Q660,859 640,859Q620,859 605,844L297,537Q285,525 279,510Q273,495 273,480Q273,465 279,450Q285,435 297,423L605,115Q620,100 640.5,100.5Q661,101 676,116Q691,131 691,151Q691,171 676,186L382,480Z"/>
android:autoMirrored="true"
android:tint="?colorControlNormal"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z" />
</vector> </vector>