Dola TENG před 1 rokem
rodič
revize
4c1df86f97

+ 5 - 0
app/src/main/res/drawable/bg_circle_black.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="oval">
+    <solid android:color="@color/color_black" />
+</shape>

+ 0 - 3
app/src/main/res/drawable/bg_circle_white.xml

@@ -2,7 +2,4 @@
 <shape xmlns:android="http://schemas.android.com/apk/res/android"
     android:shape="oval">
     <solid android:color="@color/color_white"/>
-<!--    <stroke-->
-<!--        android:width="4dp"-->
-<!--        android:color="@android:color/white" />-->
 </shape>

binární
app/src/main/res/drawable/default_background.png


binární
app/src/main/res/drawable/default_profile.png


+ 8 - 1
app/src/main/res/layout/activity_login.xml

@@ -19,13 +19,20 @@
             app:cardBackgroundColor="@color/cardview_dark_background"
             app:cardElevation="0dp" />
 
+        <ImageView
+            android:id="@+id/backgroundCardWallpaper"
+            android:layout_width="match_parent"
+            android:layout_height="200dp"
+            android:background="@drawable/default_background" />
+
         <ImageView
             android:id="@+id/profileImage"
             android:layout_width="100dp"
             android:layout_height="100dp"
             android:layout_gravity="center_horizontal"
             android:layout_marginTop="150dp"
-            android:src="@drawable/ic_user_white" />
+            android:background="@drawable/bg_circle_black"
+            android:src="@drawable/default_profile" />
     </FrameLayout>
 
     <LinearLayout