mirror of https://github.com/tasks/tasks
Improved menu on tablets when in phone layout
parent
ec2447d190
commit
381d94be0b
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
** Copyright (c) 2012 Todoroo Inc
|
||||
**
|
||||
** See the file "LICENSE" for the full license governing this code.
|
||||
-->
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ScrollView
|
||||
android:layout_width="280dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/gdi_arrow_up"
|
||||
android:background="?attr/asListPopoverBg">
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:id="@+id/topFixedItems"
|
||||
android:layout_width="280dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/transparent"
|
||||
android:orientation="vertical"/>
|
||||
<include layout="@layout/fla_separator"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/content"
|
||||
android:layout_width="280dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/transparent"
|
||||
android:orientation="vertical"/>
|
||||
<include layout="@layout/fla_separator"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/bottomFixedItems"
|
||||
android:layout_width="280dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/transparent"
|
||||
android:orientation="vertical"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</merge>
|
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
** Copyright (c) 2012 Todoroo Inc
|
||||
**
|
||||
** See the file "LICENSE" for the full license governing this code.
|
||||
-->
|
||||
<com.todoroo.astrid.ui.TouchInterceptingFrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dip">
|
||||
|
||||
<include layout="@layout/main_menu_popover_body_tablet_phone_layout"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gdi_arrow_up"
|
||||
android:layout_width="27dip"
|
||||
android:layout_height="27dip"
|
||||
android:layout_marginLeft="-10dip"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_marginBottom="-8dip"
|
||||
android:src="?attr/asListArrowUp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gdi_arrow_down"
|
||||
android:layout_width="27dip"
|
||||
android:layout_height="27dip"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_marginBottom="-8dip"
|
||||
android:layout_below="@android:id/list"/>
|
||||
</RelativeLayout>
|
||||
</com.todoroo.astrid.ui.TouchInterceptingFrameLayout>
|
Loading…
Reference in New Issue