You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.1 KiB
XML
47 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<org.thoughtcrime.securesms.components.ProfilePictureView
|
|
android:contentDescription="@string/AccessibilityId_profile_picture"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/doubleModeImageViewContainer"
|
|
android:layout_width="@dimen/medium_profile_picture_size"
|
|
android:layout_height="@dimen/medium_profile_picture_size">
|
|
|
|
<ImageView
|
|
android:id="@+id/doubleModeImageView1"
|
|
android:layout_width="@dimen/small_profile_picture_size"
|
|
android:layout_height="@dimen/small_profile_picture_size"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentTop="true"
|
|
android:scaleType="centerCrop"
|
|
android:background="@drawable/profile_picture_view_small_background" />
|
|
|
|
<ImageView
|
|
android:id="@+id/doubleModeImageView2"
|
|
android:layout_width="@dimen/small_profile_picture_size"
|
|
android:layout_height="@dimen/small_profile_picture_size"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:scaleType="centerCrop"
|
|
android:background="@drawable/profile_picture_view_small_background" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:scaleType="centerCrop"
|
|
android:id="@+id/singleModeImageView"
|
|
android:layout_width="@dimen/medium_profile_picture_size"
|
|
android:layout_height="@dimen/medium_profile_picture_size"
|
|
android:background="@drawable/profile_picture_view_medium_background" />
|
|
|
|
<ImageView
|
|
android:id="@+id/largeSingleModeImageView"
|
|
android:scaleType="centerCrop"
|
|
android:layout_width="@dimen/large_profile_picture_size"
|
|
android:layout_height="@dimen/large_profile_picture_size"
|
|
android:background="@drawable/profile_picture_view_large_background" />
|
|
|
|
</org.thoughtcrime.securesms.components.ProfilePictureView> |