white actionbar logo horizontal centered

This commit is contained in:
Arne 2022-12-06 09:21:40 +01:00
parent 313a9ce3c8
commit b1bfea7699
2 changed files with 10 additions and 1 deletions

View file

@ -953,7 +953,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
actionBar.setDisplayShowTitleEnabled(true);
actionBar.setDisplayShowCustomEnabled(false);
actionBar.setTitle(null);
actionBar.setIcon(R.drawable.chat_graphic_white);
actionBar.setIcon(R.drawable.logo_toolbar_white);
//actionBar.setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.header_background)));
actionBar.setSubtitle(null);
actionBar.setDisplayHomeAsUpEnabled(false);

View file

@ -0,0 +1,9 @@
<vector android:height="53.973824dp" android:viewportHeight="240.94"
android:viewportWidth="566.93" android:width="127dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FFFFFF" android:pathData="m261.94,152.91a27.49,27.49 0,0 1,-10.84 2.21c-14.76,0 -26.77,-11.55 -26.77,-25.74 0,-14.19 12,-25.74 26.77,-25.74a27.66,27.66 0,0 1,10.84 2.21L261.94,93.15A40.76,40.76 0,0 0,251.1 91.68c-21.63,0 -39.22,16.91 -39.22,37.7 0,20.79 17.59,37.7 39.22,37.7a40.76,40.76 0,0 0,10.84 -1.47z"/>
<path android:fillColor="#FFFFFF" android:pathData="M322.18,96.71C309.4,88.61 299.46,91.86 292.23,95.6a22.8,22.8 0,0 0,-3.23 2L289,57.4h-13.59v109.68h13.83v-39.54c0,-7.19 3.27,-16.52 9.34,-19.65 6.42,-3.32 10.36,-3.2 16.19,0.5 5,3.18 8.38,12.42 8.38,19.06v39.63L337,167.08v-39.63c0,-10.61 -5.1,-24.58 -14.82,-30.74z"/>
<path android:fillColor="#FFFFFF" android:pathData="M392.21,97.31C373.89,88.13 357.67,93.03 352.66,93.94L352.66,107.33C355.76,107 374,101.91 384.88,109c3.07,2 6,3.94 8.17,8.42 -15.07,0.19 -31.17,1.79 -38.77,12.23 0,0 -9.75,11.83 -2.25,26.62 5.82,11.48 28.15,15.76 44,3v7.83L409.9,167.1L409.9,128.84C408.91,112.65 402.42,102.44 392.21,97.31ZM361.74,145c0,-10.36 15.55,-17.72 34,-17.93a41.29,41.29 0,0 1,0.32 5.21v16.36c-14.64,11.61 -34.32,6.73 -34.32,-3.64z"/>
<path android:fillColor="#FFFFFF" android:pathData="M466.33,106.11L466.33,92.25L439.44,92.25L439.44,57.83h-13.87v72.24c1,16.19 7.48,26.4 17.69,31.52a51.21,51.21 0,0 0,23 5.49v-13.43c-5.43,0 -11.19,-0.82 -15.71,-3.76 -3.07,-2 -6,-3.94 -8.18,-8.42 0,0 -2.91,-5.6 -3,-18.76v-16.6z"/>
<path android:fillColor="#FFFFFF" android:pathData="m164.64,71.85a54.79,54.79 0,0 0,-51.74 72.81l-5,10.27 -7,14.36a2.49,2.49 0,0 0,2.41 3.59l16,-1.09 13.12,-0.91a54.78,54.78 0,1 0,32.3 -99zM164.64,171.2a44.56,44.56 0,1 1,44.56 -44.56,44.61 44.61,0 0,1 -44.56,44.56z"/>
<path android:fillColor="#FFFFFF" android:pathData="m193.24,113.53a11.31,11.31 0,1 0,-0.83 6v19.21a1.63,1.63 0,0 1,-0.85 1.44,14.75 14.75,0 0,1 -7.32,1.94c-4,-0.09 -7.8,-2.79 -9.26,-3.94a17,17 0,0 0,-2.51 -1.66,10.62 10.62,0 0,0 -3.26,-1.22c-1.41,-0.24 -3,-0.51 -4.61,0.93 -1.62,-1.44 -3.21,-1.17 -4.61,-0.93a10.57,10.57 0,0 0,-3.27 1.22,16.22 16.22,0 0,0 -2.51,1.66c-1.46,1.15 -5.28,3.85 -9.26,3.94a14.91,14.91 0,0 1,-7.44 -2,1.43 1.43,0 0,1 -0.73,-1.26v-19.54a11.28,11.28 0,1 0,-0.74 -5.79,1.52 1.52,0 0,0 -1.12,2.42v23a3.08,3.08 0,0 0,0.44 1.6c1.22,2 5.69,8.56 12.35,8.93 0.61,0 1.19,0.06 1.75,0.06a20.06,20.06 0,0 0,9.35 -2.28,12.15 12.15,0 0,0 5.79,-5.81 12.08,12.08 0,0 0,5.78 5.81,20.25 20.25,0 0,0 11.11,2.22c6.7,-0.37 11.18,-7 12.39,-9a2.81,2.81 0,0 0,0.39 -1.44v-23a1.48,1.48 0,0 0,0.39 -1,1.53 1.53,0 0,0 -1.42,-1.51zM190.11,115.05a8.05,8.05 0,1 1,-8.05 -8,8.07 8.07,0 0,1 8.05,8zM147.22,107.05a8.06,8.06 0,1 1,-8.05 8,8.07 8.07,0 0,1 8.05,-8.05z"/>
</vector>