поменяли иконочку на кнопке
This commit is contained in:
parent
f3fddc4936
commit
23c199f022
Binary file not shown.
Before Width: | Height: | Size: 661 B |
5
app/src/main/res/drawable/icon_list.xml
Normal file
5
app/src/main/res/drawable/icon_list.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||||
|
|
||||||
|
<path android:fillColor="@android:color/white" android:pathData="M4,10.5c-0.83,0 -1.5,0.67 -1.5,1.5s0.67,1.5 1.5,1.5 1.5,-0.67 1.5,-1.5 -0.67,-1.5 -1.5,-1.5zM4,4.5c-0.83,0 -1.5,0.67 -1.5,1.5S3.17,7.5 4,7.5 5.5,6.83 5.5,6 4.83,4.5 4,4.5zM4,16.5c-0.83,0 -1.5,0.68 -1.5,1.5s0.68,1.5 1.5,1.5 1.5,-0.68 1.5,-1.5 -0.67,-1.5 -1.5,-1.5zM7,19h14v-2L7,17v2zM7,13h14v-2L7,11v2zM7,5v2h14L21,5L7,5z"/>
|
||||||
|
|
||||||
|
</vector>
|
77
app/src/main/res/layout/card_view.xml
Normal file
77
app/src/main/res/layout/card_view.xml
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
<RelativeLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="105dp"
|
||||||
|
tools:ignore="MissingConstraints">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="200dp"
|
||||||
|
android:id="@+id/examName"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:layout_marginStart="20dp"
|
||||||
|
android:text="First Exam"
|
||||||
|
android:textColor="@color/black"
|
||||||
|
android:layout_marginEnd="20dp"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:layout_marginTop="15dp"
|
||||||
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/examPic"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:layout_below="@+id/examName"
|
||||||
|
android:layout_marginStart="20dp"
|
||||||
|
android:layout_marginTop="7dp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/examDate"
|
||||||
|
android:layout_toEndOf="@+id/examPic"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@+id/examName"
|
||||||
|
android:layout_marginTop="5dp"
|
||||||
|
android:layout_marginEnd="20dp"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="May 23, 2015"
|
||||||
|
android:textSize="16sp"/>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/examPic2"
|
||||||
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
android:layout_below="@+id/examDate"
|
||||||
|
android:layout_marginStart="20dp"
|
||||||
|
android:layout_marginTop="7dp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/examMessage"
|
||||||
|
android:layout_toEndOf="@+id/examPic2"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@+id/examDate"
|
||||||
|
android:layout_marginEnd="20dp"
|
||||||
|
android:layout_marginTop="5dp"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="Best Of Luck"
|
||||||
|
android:textSize="16sp"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/border2"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_marginStart="15dp"
|
||||||
|
android:layout_marginEnd="15dp"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:background="#808080"/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -128,7 +128,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="320dp"
|
android:layout_marginEnd="320dp"
|
||||||
android:contentDescription="@string/profile_scan_button"
|
android:contentDescription="@string/profile_scan_button"
|
||||||
android:src="@drawable/ic_list"
|
android:src="@drawable/icon_list"
|
||||||
app:maxImageSize="30dp"
|
app:maxImageSize="30dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent" />
|
app:layout_constraintEnd_toEndOf="parent" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user