BobStore/app/src/main/res/layout/app_details2_donate.xml
Peter Serwylo 74795d2f7a Don't use attr for color value in drawables.
According to the following this is not supported:

 * http://stackoverflow.com/a/13471695/2391921

This uses the approach in that SO answer, by extracting the attribute to
instead point at a drawable, and have one drawable for each theme.

Fixes #979.
2017-04-26 10:06:00 +10:00

30 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/details_activity_padding"
android:clickable="true"
android:orientation="vertical"
android:background="?attr/detailPanel"
android:padding="@dimen/details_activity_padding">
<TextView
android:id="@+id/donate_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="15sp"
android:textAlignment="center"
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
android:id="@+id/donation_options"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:columnCount="3" />
</LinearLayout>