日常备份,下载列表已做好

This commit is contained in:
2018-06-15 16:13:28 +08:00
parent 98d876bfe7
commit 7a1c4f4351
28 changed files with 690 additions and 342 deletions

View File

@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="ModActivity">
tools:context=".views.ModActivity">
<ScrollView
android:layout_width="match_parent"
@@ -26,7 +26,8 @@
android:scaleType="fitXY"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:srcCompat="@drawable/ic_launcher_background" />
app:srcCompat="@drawable/ic_launcher_background"
tools:ignore="VectorDrawableCompat" />
<ImageView
android:id="@+id/icon"
@@ -36,7 +37,8 @@
android:layout_marginTop="8dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ModImage"
app:srcCompat="@drawable/ic_launcher_background" />
app:srcCompat="@drawable/ic_launcher_background"
tools:ignore="VectorDrawableCompat" />
<TextView
android:id="@+id/title"
@@ -72,9 +74,9 @@
app:layout_constraintBottom_toTopOf="@+id/richText"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/by"
app:layout_constraintTop_toBottomOf="@+id/title"></LinearLayout>
app:layout_constraintTop_toBottomOf="@+id/title"/>
<cn.droidlover.xrichtext.XRichText
<TextView
android:id="@+id/richText"
android:layout_width="0dp"
android:layout_height="200dp"

View File

@@ -15,17 +15,46 @@
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_margin="20dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:id="@+id/title"
android:layout_margin="20dp"
android:layout_width="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="标题"
android:textSize="18sp"/>
android:orientation="horizontal">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:layout_weight="1"
android:text="标题"
android:textSize="18sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<Button
android:id="@+id/delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="删除" />
<Button
android:id="@+id/install"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="安装" />
</LinearLayout>
</LinearLayout>
</LinearLayout>