parent
3a3b1872f4
commit
f1f9bb787b
@ -1,23 +1,46 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:orientation="vertical" |
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:padding="16dp"> |
||||
|
||||
<TextView |
||||
android:id="@+id/tv_name" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" /> |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:singleLine="true" |
||||
app:layout_constraintRight_toLeftOf="@+id/tv_export" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
app:layout_constraintLeft_toLeftOf="parent" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tv_author" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" /> |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:singleLine="true" |
||||
app:layout_constraintRight_toLeftOf="@+id/tv_export" |
||||
app:layout_constraintTop_toBottomOf="@+id/tv_name" |
||||
app:layout_constraintLeft_toLeftOf="parent" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tv_download" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" /> |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:singleLine="true" |
||||
app:layout_constraintRight_toLeftOf="@+id/tv_export" |
||||
app:layout_constraintTop_toBottomOf="@id/tv_author" |
||||
app:layout_constraintLeft_toLeftOf="parent" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tv_export" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:background="?attr/selectableItemBackground" |
||||
android:padding="10dp" |
||||
android:text="@string/export" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
app:layout_constraintBottom_toBottomOf="parent" |
||||
app:layout_constraintRight_toRightOf="parent" /> |
||||
|
||||
</LinearLayout> |
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
Loading…
Reference in new issue