mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 15:37:32 +00:00
New avatar placeholder drawable generator.
This commit is contained in:
@@ -6,6 +6,4 @@
|
||||
<solid android:color="@color/unimportant" />
|
||||
|
||||
<corners android:radius="23dp" />
|
||||
|
||||
<stroke android:width="@dimen/profile_picture_border_thickness" android:color="@color/border" />
|
||||
</shape>
|
@@ -6,6 +6,4 @@
|
||||
<solid android:color="#353535" />
|
||||
|
||||
<corners android:radius="23dp" />
|
||||
|
||||
<stroke android:width="@dimen/profile_picture_border_thickness" android:color="@color/border" />
|
||||
</shape>
|
@@ -6,6 +6,4 @@
|
||||
<solid android:color="@color/unimportant" />
|
||||
|
||||
<corners android:radius="18dp" />
|
||||
|
||||
<stroke android:width="@dimen/profile_picture_border_thickness" android:color="@color/border" />
|
||||
</shape>
|
@@ -34,7 +34,8 @@
|
||||
android:layout_height="@dimen/small_profile_picture_size"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="9dp" />
|
||||
android:layout_marginLeft="9dp"
|
||||
android:foreground="@drawable/circle_touch_highlight_background"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
@@ -24,7 +24,8 @@
|
||||
android:id="@+id/profilePictureView"
|
||||
android:layout_width="@dimen/large_profile_picture_size"
|
||||
android:layout_height="@dimen/large_profile_picture_size"
|
||||
android:layout_marginTop="@dimen/medium_spacing" />
|
||||
android:layout_marginTop="@dimen/medium_spacing"
|
||||
android:foreground="@drawable/circle_touch_highlight_background" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ctnGroupNameSection"
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/doubleModeImageViewContainer"
|
||||
@@ -19,13 +19,9 @@
|
||||
android:id="@+id/doubleModeImageView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:alpha="0.65"
|
||||
android:background="@drawable/profile_picture_view_small_background" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/profile_picture_view_small_foreground" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
@@ -40,11 +36,6 @@
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/profile_picture_view_small_background" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/profile_picture_view_small_foreground" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -60,11 +51,6 @@
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/profile_picture_view_medium_background" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/profile_picture_view_medium_foreground" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
@@ -87,11 +73,6 @@
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/profile_picture_view_large_background" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/profile_picture_view_large_foreground" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
@@ -107,4 +107,12 @@
|
||||
<color name="default_background_start">#121212</color>
|
||||
<color name="default_background_end">#171717</color>
|
||||
|
||||
<array name="user_pic_placeholder_primary">
|
||||
<item>#18da80</item>
|
||||
<item>#ee8917</item>
|
||||
<item>#239edf</item>
|
||||
<item>#c33fe9</item>
|
||||
<item>#83b433</item>
|
||||
</array>
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user