66 lines
2.1 KiB
XML
66 lines
2.1 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="88dp"
|
||
|
android:clickable="true"
|
||
|
android:elevation="2dp"
|
||
|
app:ios="false"
|
||
|
app:leftSwipe="true">
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/mod_linearlayout"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/mod_icon"
|
||
|
android:layout_width="60dp"
|
||
|
android:layout_height="60dp"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
android:src="@mipmap/ui_image" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center_vertical"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/mod_name_View"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="模组名称"
|
||
|
android:textSize="16dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/mod_introduction_view"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="介绍"
|
||
|
android:textSize="14dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/mod_up_time"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="更新时间"
|
||
|
android:textSize="14dp" />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/mod_del"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:text="@string/del_mod" />
|
||
|
|
||
|
</com.mcxtzhang.swipemenulib.SwipeMenuLayout>
|