feat: 优化代码

pull/103/head
kunfei 5 years ago
parent 71c228322f
commit 109fec4441
  1. 13
      app/src/main/res/layout/activity_about.xml

@ -11,18 +11,14 @@
android:id="@+id/title_bar" android:id="@+id/title_bar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:title="@string/about" /> app:title="@string/about">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="6dp"
app:cardBackgroundColor="@color/background_card">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/shape_card_view"
android:orientation="vertical" android:orientation="vertical"
android:layout_margin="6dp"
android:padding="10dp"> android:padding="10dp">
<TextView <TextView
@ -40,10 +36,11 @@
android:text="@string/about_description" /> android:text="@string/about_description" />
</LinearLayout> </LinearLayout>
</androidx.cardview.widget.CardView> </io.legado.app.ui.widget.TitleBar>
<FrameLayout <FrameLayout
android:id="@+id/fl_fragment" android:id="@+id/fl_fragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
</LinearLayout> </LinearLayout>

Loading…
Cancel
Save