0435a0775e
Create a custom view containing the bottons below MVF (delete, move, reply, etc) and let MVF own this. These buttons used to be owned by the XL activity itself, because the UI for these commands will most likely be totally different from the tablet UI, so the fragment having them looked wrong. However, this made it harder to make changes suggested by the latest mock, such as "put reply/forward in the message header". I think the buttons are semantically part of the message view anyway, so the fragment owning UI for these commands is probably the way to go. (And let's worry about the phone UI later.) Reason for the use of a custom view is that it will make it easier to make non-trivial UI changes, e.g. "combine reply, reply-all and forward and make it dropdown." Also removed obsolete TODOs from MessageListXL. Change-Id: Ibf93f4c70fe07bdbbe33d2adb6bbd2b96812830d
35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:splitMotionEvents="true"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/left_pane"
|
|
android:layout_width="360dip"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
<FrameLayout
|
|
android:id="@+id/right_pane"
|
|
android:layout_width="0dip"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1" />
|
|
</LinearLayout>
|