87 lines
3.5 KiB
XML
87 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/layoutDraftsFrame"
|
|
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">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/frameDraftInfo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dimen10dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<TextView
|
|
android:id="@+id/repoInfo"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="@dimen/dimen16sp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/editCommentStatus"
|
|
android:layout_width="@dimen/dimen20dp"
|
|
android:layout_height="@dimen/dimen20dp"
|
|
android:layout_marginStart="@dimen/dimen10dp"
|
|
android:layout_marginEnd="@dimen/dimen10dp"
|
|
android:contentDescription="@string/menuDeleteText"
|
|
android:src="@drawable/ic_edit"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/deleteDraft"
|
|
android:layout_width="@dimen/dimen20dp"
|
|
android:layout_height="@dimen/dimen20dp"
|
|
android:layout_marginStart="@dimen/dimen10dp"
|
|
android:contentDescription="@string/menuDeleteText"
|
|
android:src="@drawable/ic_delete"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/frameDraftInfo1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginBottom="@dimen/dimen10dp"
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<TextView
|
|
android:id="@+id/draftText"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dimen0dp"
|
|
android:layout_weight=".95"
|
|
android:text="@string/noDataFound"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="@dimen/dimen14sp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</LinearLayout>
|