From 8c0ba894552f4fe31ea3ec955670b8c32434691f Mon Sep 17 00:00:00 2001 From: Isira Seneviratne Date: Sun, 5 Jul 2020 08:04:36 +0530 Subject: [PATCH] Use compound drawable in About dialog. --- .../app/src/main/res/layout/dialog_about.xml | 40 ++++++------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/android/BOINC/app/src/main/res/layout/dialog_about.xml b/android/BOINC/app/src/main/res/layout/dialog_about.xml index c7a26ca2e0..eac8c94847 100644 --- a/android/BOINC/app/src/main/res/layout/dialog_about.xml +++ b/android/BOINC/app/src/main/res/layout/dialog_about.xml @@ -22,37 +22,21 @@ android:layout_height="wrap_content" android:orientation="vertical"> - - - - - - - + android:singleLine="true" + android:text="@string/about_title" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="@android:color/white" + android:textSize="20sp" + android:textStyle="bold" + app:drawableLeftCompat="@drawable/ic_baseline_info_white" + app:drawableStartCompat="@drawable/ic_baseline_info_white" />