Quellcode durchsuchen

Added dividers for notes tab

Vadik Sirekanyan vor 7 Jahren
Ursprung
Commit
2640a26a06
1 geänderte Dateien mit 12 neuen und 2 gelöschten Zeilen
  1. 12 2
      app/src/main/res/layout/note.xml

+ 12 - 2
app/src/main/res/layout/note.xml

@@ -4,18 +4,21 @@
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:foreground="?android:attr/selectableItemBackground"
-    android:padding="16dp">
+    android:paddingTop="16dp">
 
     <ImageView
         android:layout_width="40dp"
         android:layout_height="40dp"
+        android:layout_marginStart="16dp"
         android:background="@drawable/rectangle_placeholder_background"
         tools:ignore="ContentDescription" />
 
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:layout_marginStart="56dp"
+        android:layout_marginBottom="16dp"
+        android:layout_marginEnd="16dp"
+        android:layout_marginStart="72dp"
         android:orientation="vertical">
 
         <TextView
@@ -85,4 +88,11 @@
 
     </LinearLayout>
 
+    <ImageView
+        android:layout_width="match_parent"
+        android:layout_height="0.5dp"
+        android:layout_gravity="bottom"
+        android:src="#1f000000"
+        tools:ignore="ContentDescription" />
+
 </FrameLayout>