Add dialog to accept privacy policy before sending crash report

Add link to privacy policy in about fragment
Replace some onClickListeners with Lamdas
This commit is contained in:
TobiGr 2018-05-24 17:10:28 +02:00 committed by Christian Schabesberger
parent b8a227c720
commit 5b937924ad
6 changed files with 72 additions and 36 deletions

View file

@ -111,5 +111,26 @@
android:layout_gravity="end"
android:text="@string/open_in_browser" />
<TextView
android:id="@+id/title_privacy_policy"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="10dp"
android:text="@string/privacy_policy_title"
android:textAppearance="@android:style/TextAppearance.Medium" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/privacy_policy_encouragement" />
<Button
android:id="@+id/privacy_policy_link"
style="@style/Base.Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:text="@string/read_privacy_policy" />
</LinearLayout>
</android.support.v4.widget.NestedScrollView>