mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 15:40:14 -04:00
46 lines
2.1 KiB
XML
46 lines
2.1 KiB
XML
<?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:id="@+id/main_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
tools:context=".activities.MainActivity">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
<include layout="@layout/toolbar" android:id="@+id/toolbar" />
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:id="@+id/fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end|bottom"
|
|
android:layout_margin="@dimen/fab_margin"
|
|
android:onClick="onNewTaskClick"
|
|
android:src="@drawable/ic_add" />
|
|
|
|
<android.support.percent.PercentRelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="?attr/actionBarSize">
|
|
<android.widget.ListView
|
|
android:id="@+id/list"
|
|
app:layout_widthPercent="20%"
|
|
android:layout_height="wrap_content"
|
|
android:choiceMode="singleChoice"
|
|
android:listSelector="@drawable/tasklist_select"/>
|
|
<com.wismna.geoffroy.donext.widgets.NonSwipeableViewPager
|
|
android:id="@+id/container"
|
|
app:layout_widthPercent="80%"
|
|
android:layout_height="match_parent"
|
|
android:layout_toEndOf="@id/list"
|
|
android:background="@android:color/background_light"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
</android.support.percent.PercentRelativeLayout>
|
|
</android.support.design.widget.CoordinatorLayout> |