This commit is contained in:
LagradOst 2022-04-26 14:14:36 +02:00
parent 1a5fc93eba
commit c0132e2090
3 changed files with 117 additions and 108 deletions

View file

@ -3,8 +3,8 @@
<stroke android:width="2dp"
android:color="?attr/white"/>
<corners
android:bottomLeftRadius="2dp"
android:bottomRightRadius="2dp"
android:topLeftRadius="2dp"
android:topRightRadius="2dp" />
android:bottomLeftRadius="@dimen/rounded_image_radius"
android:bottomRightRadius="@dimen/rounded_image_radius"
android:topLeftRadius="@dimen/rounded_image_radius"
android:topRightRadius="@dimen/rounded_image_radius" />
</shape>

View file

@ -191,7 +191,7 @@
<androidx.cardview.widget.CardView
android:id="@+id/home_profile_picture_holder"
android:layout_marginEnd="20dp"
android:layout_marginEnd="10dp"
app:cardCornerRadius="100dp"
android:layout_gravity="center_vertical"
android:layout_width="40dp"
@ -324,6 +324,7 @@
android:layout_height="40sp" />
<LinearLayout
android:visibility="visible"
android:padding="5dp"
android:layout_gravity="center"
android:gravity="center"

View file

@ -2,19 +2,26 @@
<!-- android:layout_width="114dp"
android:layout_height="180dp"-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:backgroundTint="@color/transparent"
android:foreground="@drawable/outline_drawable"
android:layout_height="wrap_content"
app:cardCornerRadius="@dimen/rounded_image_radius"
android:layout_margin="2dp"
android:layout_width="wrap_content">
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<androidx.cardview.widget.CardView
android:foreground="@drawable/outline_drawable"
android:layout_margin="2dp"
android:layout_width="114dp"
android:layout_height="180dp"
android:layout_marginBottom="2dp"
android:elevation="10dp"
app:cardCornerRadius="@dimen/rounded_image_radius"
android:id="@+id/backgroundCard"
@ -116,3 +123,4 @@
android:paddingEnd="5dp"
android:ellipsize="end" />
</LinearLayout>
</androidx.cardview.widget.CardView>