38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<com.mcxtzhang.swipemenulib.SwipeMenuLayout 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:clickable="true"
|
||
|
android:elevation="2dp"
|
||
|
app:ios="false"
|
||
|
app:leftSwipe="true">
|
||
|
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="8dp">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/file_name"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="文件名"
|
||
|
android:textSize="15dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/file_path"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="路径" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/del"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:text="@string/del_mod" />
|
||
|
|
||
|
</com.mcxtzhang.swipemenulib.SwipeMenuLayout>
|