android-calculatorpp/app/src/main/res/layout/onscreen_header_material.xml

41 lines
1.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:a="http://schemas.android.com/apk/res/android"
2016-01-04 06:39:25 -05:00
a:layout_width="match_parent"
a:layout_height="30dp">
<LinearLayout
a:id="@+id/onscreen_header_buttons"
a:layout_width="wrap_content"
a:layout_height="match_parent"
a:layout_alignParentRight="true">
<ImageButton
a:id="@+id/onscreen_fold_button"
style="@style/CppHeaderButton.Material"
2016-02-21 12:57:14 -05:00
a:src="@drawable/ic_vertical_align_center_white_24dp" />
2016-01-04 06:39:25 -05:00
<ImageButton
a:id="@+id/onscreen_minimize_button"
style="@style/CppHeaderButton.Material"
2016-02-21 12:57:14 -05:00
a:src="@drawable/ic_vertical_align_top_white_24dp" />
2016-01-04 06:39:25 -05:00
<ImageButton
a:id="@+id/onscreen_close_button"
style="@style/CppHeaderButton.Material"
2016-02-07 14:18:37 -05:00
a:src="@drawable/ic_close_white_24dp" />
2016-01-04 06:39:25 -05:00
</LinearLayout>
<ImageView
a:id="@+id/onscreen_title"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:layout_toLeftOf="@id/onscreen_header_buttons"
a:paddingBottom="2dp"
a:paddingLeft="6dp"
a:paddingTop="2dp"
a:scaleType="fitStart"
a:src="@drawable/cpp_onscreen_header_logo" />
</RelativeLayout>