wrap donate linear layout in a card view

This commit is contained in:
dkanada 2018-02-24 01:16:14 -07:00
parent 80915589ee
commit cf7b786054

View File

@ -1,29 +1,35 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/details_activity_padding" android:layout_margin="@dimen/details_activity_padding"
android:clickable="true" app:cardBackgroundColor="?attr/appDetailsCardBackground"
android:orientation="vertical" app:cardCornerRadius="3dp"
android:background="?attr/detailPanel" app:cardElevation="3dp">
android:padding="@dimen/details_activity_padding">
<TextView <LinearLayout
android:id="@+id/donate_header" android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="15sp" android:orientation="vertical"
android:textAlignment="center" android:padding="@dimen/details_activity_padding">
android:gravity="center"
tools:text="F-Droid is created by F-Droid Limited and Contributors. Buy them a coffee!"
android:layout_marginBottom="12dp" />
<android.support.v7.widget.GridLayout <TextView
android:id="@+id/donation_options" android:id="@+id/donate_header"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:columnCount="3" /> android:layout_marginBottom="12dp"
android:gravity="center"
android:textAlignment="center"
android:textSize="15sp"
tools:text="F-Droid is created by F-Droid Limited and Contributors. Buy them a coffee!" />
</LinearLayout> <android.support.v7.widget.GridLayout
android:id="@+id/donation_options"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:columnCount="3" />
</LinearLayout>
</android.support.v7.widget.CardView>