Gitlab@AEI Hannover will go down for maintenance on 2020-09-21 at 4:00 UTC. The service will be unavailable for up to 24 hours. If you have questions about this please contact atlas_admin@aei.mpg.de

Unverified Commit 59b2f312 authored by Vitalii Koshura's avatar Vitalii Koshura Committed by GitHub

Merge pull request #3890 from Isira-Seneviratne/Use_compound_drawables

[Android] Use compound drawables.
parents 6962eb6b 8c0ba894
......@@ -16,25 +16,12 @@
You should have received a copy of the GNU Lesser General Public License
along with BOINC. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:layout_gravity="center"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
app:srcCompat="@drawable/ic_baseline_desktop_windows"
android:contentDescription="@string/attachproject_hint_platforms_header"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:gravity="center"
android:text="@string/attachproject_hint_platforms_header"/>
</LinearLayout>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/attachproject_hint_platforms_header"
android:textAppearance="?android:attr/textAppearanceMedium"
app:drawableLeftCompat="@drawable/ic_baseline_desktop_windows"
app:drawableStartCompat="@drawable/ic_baseline_desktop_windows" />
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment