mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-22 17:10:56 +00:00
Started working on custom profile images
This commit is contained in:
parent
8b280ddbb0
commit
04e6e36811
3 changed files with 63 additions and 9 deletions
|
@ -16,18 +16,28 @@
|
|||
android:layout_height="250dp"
|
||||
android:background="@color/colorPrimary">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:paddingTop="100dp"
|
||||
android:background="@color/colorPrimary">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/profile_drawable"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:id="@+id/profile_drawable"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
</RelativeLayout>
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<com.avito.android.krop.KropView
|
||||
android:id="@+id/krop_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="invisible"
|
||||
app:krop_aspectX="1"
|
||||
app:krop_aspectY="1"
|
||||
app:krop_offset="70dp"
|
||||
app:krop_overlayColor="#aaffffff" >
|
||||
|
||||
</com.avito.android.krop.KropView>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue