osmo-tacdb/app/src/main/res/layout/activity_main.xml

49 lines
1.9 KiB
XML
Raw Normal View History

2016-04-28 19:41:38 +00:00
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="org.osmocom.tacdatabaseclient.MainActivity">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="300dp"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:layout_alignParentLeft="true"
app:popupTheme="@style/AppTheme.PopupOverlay" />
<ImageView
android:layout_width="120dp"
android:layout_height="50dp"
android:layout_marginRight="20dp"
android:layout_alignParentRight="true"
android:src="@drawable/osmocom_logo" />
</RelativeLayout>
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_main" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
android:src="@android:drawable/ic_menu_send" />
</android.support.design.widget.CoordinatorLayout>