Finished the new about screen. Also the DonationDialog loads its content now async.
This commit is contained in:
parent
7eddffed74
commit
3d87e57856
13 changed files with 463 additions and 149 deletions
Binary file not shown.
|
After Width: | Height: | Size: 279 B |
Binary file not shown.
|
After Width: | Height: | Size: 195 B |
Binary file not shown.
|
After Width: | Height: | Size: 332 B |
Binary file not shown.
|
After Width: | Height: | Size: 464 B |
Binary file not shown.
|
After Width: | Height: | Size: 599 B |
|
|
@ -150,6 +150,48 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rate_on_google_play"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp">
|
||||
|
||||
<android.support.v7.internal.widget.TintImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_play_shopping_bag_white_24dp"
|
||||
android:tint="?android:textColorSecondary" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="32dp"
|
||||
android:layout_marginStart="32dp"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingTop="8dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/rate_on_google_play"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/rate_on_google_play_summary"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/donate"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
50
app/src/main/res/layout/dialog_donation.xml
Normal file
50
app/src/main/res/layout/dialog_donation.xml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/progress_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="end|center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/md_content_padding_top"
|
||||
android:paddingLeft="@dimen/md_dialog_frame_margin"
|
||||
android:paddingRight="@dimen/md_dialog_frame_margin"
|
||||
android:paddingTop="@dimen/md_content_padding_top">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminate="true" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif"
|
||||
android:gravity="start"
|
||||
android:paddingLeft="16dp"
|
||||
android:text="@string/loading_products"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
||||
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipToPadding="false"
|
||||
android:divider="@null"
|
||||
android:dividerHeight="0dp"
|
||||
android:paddingBottom="@dimen/md_content_padding_bottom"
|
||||
android:paddingTop="@dimen/md_content_padding_top"
|
||||
android:scrollbarStyle="outsideOverlay"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?rect_selector"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/md_simplelistitem_padding_top"
|
||||
android:paddingEnd="@dimen/md_dialog_frame_margin"
|
||||
|
|
|
|||
|
|
@ -175,6 +175,7 @@
|
|||
<string name="back">back</string>
|
||||
<string name="support_development">Support development</string>
|
||||
<string name="thank_you">Thank you!</string>
|
||||
<string name="restored_previous_purchases">Restored previous purchases.</string>
|
||||
<string name="play_store_illustration_by">Play Store illustration by</string>
|
||||
<string name="version">Version</string>
|
||||
<string name="application">Application</string>
|
||||
|
|
@ -189,6 +190,8 @@
|
|||
<string name="join_community_summary">If you need help or have questions, the Phonograph community on Google Plus is a good place to go.</string>
|
||||
<string name="translate">Translate</string>
|
||||
<string name="translate_summary">Help translating Phonograph to your native language.</string>
|
||||
<string name="rate_on_google_play">Rate</string>
|
||||
<string name="rate_on_google_play_summary">Leave a positive rating on Google Play if you like Phonograph.</string>
|
||||
<string name="donate">Donate</string>
|
||||
<string name="donate_summary">If you think I deserve to get paid for my work, you can leave me a few dollars here.</string>
|
||||
<string name="aidan_follestad_summary">For the theme engine and some other great stuff.</string>
|
||||
|
|
@ -196,4 +199,5 @@
|
|||
<string name="maarten_corpel_summary">For making the Play Store illustration and the empty album cover.</string>
|
||||
<string name="aleksandar_tesic_summary">For helping me with the design.</string>
|
||||
<string name="website">Website</string>
|
||||
<string name="loading_products">Loading products…</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue