feat: 优化代码

pull/103/head
kunfei 5 years ago
parent 919269de3e
commit a4a05deeea
  1. 22
      app/src/main/res/layout/activity_donate.xml

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/ll_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
@ -11,25 +10,8 @@
android:id="@+id/title_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:title="@string/donate"/>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="6dp"
app:cardBackgroundColor="@color/background_card">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="您的支持是我更新的动力"
android:textSize="20sp"
android:textStyle="bold"
tools:ignore="HardcodedText" />
</androidx.cardview.widget.CardView>
app:subtitle="您的支持是我更新的动力"
app:title="@string/donate" />
<FrameLayout
android:id="@+id/fl_fragment"

Loading…
Cancel
Save