Commit 8595ab64 authored by Grigory Fedorov's avatar Grigory Fedorov

Avatar icons of 72dp size added.

parent 3c591e39
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<ImageView <ImageView
android:id="@+id/color" android:id="@+id/color"
android:layout_width="4dp" android:layout_width="4dp"
android:layout_height="@dimen/avatar_size" android:layout_height="@dimen/avatar_size_toolbar"
android:layout_marginRight="2dp" android:layout_marginRight="2dp"
android:layout_marginEnd="2dp" android:layout_marginEnd="2dp"
android:layout_marginLeft="2dp" android:layout_marginLeft="2dp"
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="48dp" android:layout_width="@dimen/avatar_size_toolbar"
android:layout_height="48dp" android:layout_height="@dimen/avatar_size_toolbar"
android:id="@+id/avatar_account" android:id="@+id/avatar_account"
> >
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
android:id="@+id/color" android:id="@+id/color"
android:layout_width="4dp" android:layout_width="4dp"
android:layout_height="@dimen/avatar_size" android:layout_height="@dimen/avatar_size_toolbar"
android:layout_marginLeft="2dp" android:layout_marginLeft="2dp"
android:layout_marginStart="2dp" android:layout_marginStart="2dp"
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
<ImageView <ImageView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/avatar" android:id="@+id/avatar"
android:layout_width="@dimen/avatar_size" android:layout_width="@dimen/avatar_size_toolbar"
android:layout_height="@dimen/avatar_size" android:layout_height="@dimen/avatar_size_toolbar"
android:layout_toRightOf="@id/color" android:layout_toRightOf="@id/color"
android:src="@drawable/ic_avatar_1" android:src="@drawable/ic_avatar_1"
/> />
......
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
<ImageView <ImageView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/avatar" android:id="@+id/avatar"
android:layout_width="@dimen/avatar_size" android:layout_width="@dimen/avatar_size_toolbar"
android:layout_height="@dimen/avatar_size" android:layout_height="@dimen/avatar_size_toolbar"
android:layout_toRightOf="@id/color" android:layout_toRightOf="@id/color"
android:src="@drawable/ic_avatar_1" android:src="@drawable/ic_avatar_1"
/> />
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
<ImageView <ImageView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/avatar" android:id="@+id/avatar"
android:layout_width="48dip" android:layout_width="@dimen/avatar_size_toolbar"
android:layout_height="48dip" android:layout_height="@dimen/avatar_size_toolbar"
android:src="@drawable/ic_avatar_1" android:src="@drawable/ic_avatar_1"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
/> />
......
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
<ImageView <ImageView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/avatar" android:id="@+id/avatar"
android:layout_width="@dimen/avatar_size" android:layout_width="@dimen/avatar_size_toolbar"
android:layout_height="@dimen/avatar_size" android:layout_height="@dimen/avatar_size_toolbar"
android:src="@drawable/ic_avatar_1" android:src="@drawable/ic_avatar_1"
/> />
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/affilation" android:id="@+id/affilation"
android:layout_width="2dip" android:layout_width="2dip"
android:layout_height="@dimen/avatar_size" android:layout_height="@dimen/avatar_size_toolbar"
android:layout_marginLeft="2dip" android:layout_marginLeft="2dip"
android:scaleType="fitXY" android:scaleType="fitXY"
android:src="@drawable/ic_affilation" android:src="@drawable/ic_affilation"
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
--> -->
<resources> <resources>
<array name="default_avatars_icons"> <array name="default_avatars_icons">
<item>@drawable/ic_avatar_1</item> <item>@drawable/ic_avatar_1_72dp</item>
<item>@drawable/ic_avatar_2</item> <item>@drawable/ic_avatar_2_72dp</item>
<item>@drawable/ic_avatar_5</item> <item>@drawable/ic_avatar_5_72dp</item>
<item>@drawable/ic_avatar_3</item> <item>@drawable/ic_avatar_3_72dp</item>
<item>@drawable/ic_avatar_4</item> <item>@drawable/ic_avatar_4_72dp</item>
</array> </array>
<array name="default_avatars_colors"> <array name="default_avatars_colors">
...@@ -33,6 +33,6 @@ ...@@ -33,6 +33,6 @@
</array> </array>
<array name="muc_avatars"> <array name="muc_avatars">
<item>@drawable/ic_avatar_muc</item> <item>@drawable/ic_avatar_muc_72dp</item>
</array> </array>
</resources> </resources>
\ No newline at end of file
...@@ -102,7 +102,8 @@ ...@@ -102,7 +102,8 @@
</style> </style>
<dimen name="status_icon_width">24dip</dimen> <dimen name="status_icon_width">24dip</dimen>
<dimen name="avatar_size">48dip</dimen> <dimen name="avatar_size">72dip</dimen>
<dimen name="avatar_size_toolbar">48dip</dimen>
<dimen name="title_height">44dip</dimen> <dimen name="title_height">44dip</dimen>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment