|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- |
| 3 | + ~ Catroid: An on-device visual programming system for Android devices |
| 4 | + ~ Copyright (C) 2010-2018 The Catrobat Team |
| 5 | + ~ (<http://developer.catrobat.org/credits>) |
| 6 | + ~ |
| 7 | + ~ This program is free software: you can redistribute it and/or modify |
| 8 | + ~ it under the terms of the GNU Affero General Public License as |
| 9 | + ~ published by the Free Software Foundation, either version 3 of the |
| 10 | + ~ License, or (at your option) any later version. |
| 11 | + ~ |
| 12 | + ~ An additional term exception under section 7 of the GNU Affero |
| 13 | + ~ General Public License, version 3, is available at |
| 14 | + ~ http://developer.catrobat.org/license_additional_term |
| 15 | + ~ |
| 16 | + ~ This program is distributed in the hope that it will be useful, |
| 17 | + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | + ~ GNU Affero General Public License for more details. |
| 20 | + ~ |
| 21 | + ~ You should have received a copy of the GNU Affero General Public License |
| 22 | + ~ along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 23 | + --> |
| 24 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 25 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 26 | + android:id="@+id/bottom_bar" |
| 27 | + android:layout_width="match_parent" |
| 28 | + android:layout_height="match_parent" |
| 29 | + android:orientation="horizontal"> |
| 30 | + |
| 31 | + <com.google.android.material.floatingactionbutton.FloatingActionButton |
| 32 | + android:id="@+id/button_play" |
| 33 | + android:layout_width="wrap_content" |
| 34 | + android:layout_height="wrap_content" |
| 35 | + android:layout_above="@id/button_add" |
| 36 | + android:layout_alignWithParentIfMissing="true" |
| 37 | + android:layout_alignParentEnd="true" |
| 38 | + android:layout_margin="@dimen/material_design_spacing_large" |
| 39 | + android:src="@drawable/ic_play" |
| 40 | + android:tint="@color/solid_white" |
| 41 | + android:theme="@style/Theme.AppCompat" |
| 42 | + app:backgroundTint="@color/orange" |
| 43 | + app:elevation="10dp" |
| 44 | + android:onClick="handlePlayButton" /> |
| 45 | + |
| 46 | + <com.google.android.material.floatingactionbutton.FloatingActionButton |
| 47 | + android:id="@+id/button_add" |
| 48 | + android:layout_width="wrap_content" |
| 49 | + android:layout_height="wrap_content" |
| 50 | + android:layout_alignParentBottom="true" |
| 51 | + android:layout_alignParentEnd="true" |
| 52 | + android:layout_marginEnd="@dimen/material_design_spacing_large" |
| 53 | + android:layout_marginBottom="@dimen/material_design_spacing_large" |
| 54 | + android:src="@drawable/ic_plus" |
| 55 | + android:tint="@color/solid_white" |
| 56 | + android:theme="@style/Theme.AppCompat" |
| 57 | + app:backgroundTint="@color/orange" |
| 58 | + app:elevation="10dp" |
| 59 | + android:onClick="handleAddButton" /> |
| 60 | + |
| 61 | +</RelativeLayout> |
0 commit comments