mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 14:37:33 +00:00
Use larger version of ic_contact_picture in calls
Closes #4971 Fixes #4245 // FREEBIE
This commit is contained in:

committed by
Moxie Marlinspike

parent
1e2a45d440
commit
1abf39685a
BIN
res/drawable-hdpi/ic_contact_picture_large.png
Normal file
BIN
res/drawable-hdpi/ic_contact_picture_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
BIN
res/drawable-mdpi/ic_contact_picture_large.png
Normal file
BIN
res/drawable-mdpi/ic_contact_picture_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
res/drawable-xhdpi/ic_contact_picture_large.png
Normal file
BIN
res/drawable-xhdpi/ic_contact_picture_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
BIN
res/drawable-xxhdpi/ic_contact_picture_large.png
Normal file
BIN
res/drawable-xxhdpi/ic_contact_picture_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
res/drawable-xxxhdpi/ic_contact_picture_large.png
Normal file
BIN
res/drawable-xxxhdpi/ic_contact_picture_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
@@ -40,10 +40,12 @@
|
||||
|
||||
<!-- Contact photo for call_info_1 -->
|
||||
<ImageView android:id="@+id/photo"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/call_banner_1"
|
||||
android:layout_marginBottom="@dimen/in_call_button_height"
|
||||
android:gravity="top|center_horizontal"
|
||||
android:background="@android:color/black"
|
||||
android:scaleType="centerCrop"
|
||||
/>
|
||||
|
||||
@@ -140,23 +142,6 @@
|
||||
|
||||
</RelativeLayout> <!-- End of call_banner for call_info #1. -->
|
||||
|
||||
<!-- "Inset" photo used with "id/photo" above:
|
||||
When the contact photo is a lo-res thumbnail, id/photo
|
||||
contains a scaled-up but *blurred* version of the photo, and
|
||||
*this* ImageView is overlaid on top as a smaller, unblurred
|
||||
inset. (See InCallContactPhoto.java.)
|
||||
The top of the inset is vertically aligned with the bottom
|
||||
of the call banner. (Note that means that in states where the
|
||||
"call state label" is visible, the label (see below) will overlap
|
||||
the top of the inset photo.) -->
|
||||
<ImageView android:id="@+id/insetPhoto"
|
||||
android:layout_below="@id/call_banner_1"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="180dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_marginLeft="0dp"
|
||||
/>
|
||||
|
||||
<!-- The "call state label": In some states, this shows a special
|
||||
indication like "Dialing" or "Incoming call" or "Call ended".
|
||||
It's unused for the normal case of an active ongoing call. -->
|
||||
|
Reference in New Issue
Block a user