173 lines
7.3 KiB
XML
173 lines
7.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
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="wrap_content"
|
|
android:background="#000000"
|
|
android:padding="12dp">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="34dp"
|
|
android:gravity="center"
|
|
android:text="New style"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="24sp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/buttonFromBuiltInStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="38dp"
|
|
android:layout_marginTop="16dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
app:cardBackgroundColor="#1B1A1A"
|
|
app:cardCornerRadius="0dp"
|
|
app:cardElevation="0dp"
|
|
app:strokeColor="#292828"
|
|
app:strokeWidth="1dp"
|
|
app:layout_constraintTop_toBottomOf="@id/title"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/builtInStyleIcon"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:layout_marginStart="16dp"
|
|
android:src="@android:drawable/ic_menu_edit"
|
|
app:tint="#A4A3A3"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/builtInStyleText"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="From built-In style"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="18sp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/buttonFromFile"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="38dp"
|
|
android:layout_marginTop="6dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
app:cardBackgroundColor="#1B1A1A"
|
|
app:cardCornerRadius="0dp"
|
|
app:cardElevation="0dp"
|
|
app:strokeColor="#292828"
|
|
app:strokeWidth="1dp"
|
|
app:layout_constraintTop_toBottomOf="@id/buttonFromBuiltInStyle"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/fileIcon"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:layout_marginStart="16dp"
|
|
android:src="@drawable/ic_file"
|
|
app:tint="#A4A3A3"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/fileBtnText"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="From file"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="18sp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/buttonCreateEmpty"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="38dp"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
app:cardBackgroundColor="#1B1A1A"
|
|
app:cardCornerRadius="0dp"
|
|
app:cardElevation="0dp"
|
|
app:strokeColor="#292828"
|
|
app:strokeWidth="1dp"
|
|
app:layout_constraintTop_toBottomOf="@id/buttonFromFile"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/emptyIcon"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:layout_marginStart="16dp"
|
|
android:src="@drawable/ic_create"
|
|
app:tint="#A4A3A3"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/emptyBtnText"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="Create empty"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="18sp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |