mirror of https://github.com/BOINC/boinc.git
Use compound drawable in About dialog.
This commit is contained in:
parent
e2163f6f53
commit
8c0ba89455
|
@ -22,37 +22,21 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
style="@style/ActionBarDayNight"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_baseline_info_white"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/menu_about"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:singleLine="true"
|
||||
android:text="@string/about_title"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
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" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
|
|
Loading…
Reference in New Issue