Rate Us method added to Utils.java and called on AboutActivity.java

This commit is contained in:
Ujjwal Agrawal 2018-02-27 12:04:04 +05:30
parent 4432f2ca1a
commit fc8b522ac4
11 changed files with 30 additions and 18 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 844 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -104,6 +104,14 @@
</LinearLayout>
<TextView
android:id="@+id/about_rate_us"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/standard_gap"
android:gravity="center"
android:textColor="@color/primaryColor"
android:text="@string/about_rate_us" />
<fr.free.nrw.commons.ui.widget.HtmlTextView
android:id="@+id/about_privacy_policy"
style="?android:textAppearanceSmall"

View file

@ -30,11 +30,6 @@
android:icon="@drawable/ic_feedback_black_24dp"
android:title="@string/navigation_item_feedback"/>
<item
android:id="@+id/action_rate"
android:icon="@drawable/ic_star_black_24dp"
android:title="@string/navigation_item_rate"/>
<item
android:id="@+id/action_logout"
android:icon="@drawable/ic_exit_to_app_black_24dp"

View file

@ -225,5 +225,5 @@
<string name="notifications_thank_you_edit">Thank you for making an edit</string>
<string name="notifications_mention">%1$s mentioned you on %2$s.</string>
<string name="toggle_view_button">Toggle view</string>
<string name="navigation_item_rate">Rate Us</string>
<string name="about_rate_us"><u>Rate Us</u></string>
</resources>