83 lines
3.4 KiB
XML
83 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="@dimen/dimen4dp"
|
|
android:paddingBottom="@dimen/dimen4dp">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
style="?attr/materialCardViewElevatedStyle"
|
|
app:cardElevation="@dimen/dimen0dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
android:background="?attr/materialCardBackgroundColor"
|
|
android:padding="@dimen/dimen12dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/repoName"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="@dimen/dimen14sp" />
|
|
|
|
<View
|
|
android:id="@+id/spacer_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="@dimen/dimen8dp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/note_info_frame"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/datetime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="@dimen/dimen12sp"
|
|
tools:text="@string/noteDateTime" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/note_info_end_frame"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/dimen10dp"
|
|
android:gravity="center_vertical|end"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="@dimen/dimen6dp"
|
|
android:paddingEnd="@dimen/dimen0dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/delete_note"
|
|
android:layout_width="@dimen/dimen18dp"
|
|
android:layout_height="@dimen/dimen18dp"
|
|
android:layout_marginStart="@dimen/dimen16dp"
|
|
android:layout_marginEnd="@dimen/dimen2dp"
|
|
android:contentDescription="@string/generalImgContentText"
|
|
app:srcCompat="@drawable/ic_delete"
|
|
app:tint="?attr/iconsColor" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</LinearLayout>
|