replicant-packages_apps_Email/res/layout/widget_list_item.xml
Marc Blank 1b9337ea4f Wireframe email widget
* Formatting and assets are preliminary
* Functionality correct
* Needs cleanup, etc.

Change-Id: I75051df93d233ef529a616c7a9efae403d320bd2
2010-12-01 13:37:57 -08:00

56 lines
1.9 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.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/widget_date"
android:layout_width="64dip"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:textColor="#F000"
android:textSize="14sp"
android:paddingLeft="10dip"
android:drawablePadding="4dip"
/>
<TextView
android:id="@+id/widget_from"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@id/widget_date"
android:textColor="#F000"
android:ellipsize="end"
android:singleLine="true"
android:textSize="16sp"
android:paddingLeft="10dip"
android:drawablePadding="4dip"
/>
<TextView
android:id="@+id/widget_subject"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/widget_from"
android:minLines="2"
android:textSize="14sp"
android:textColor="#F000"
android:paddingLeft="10dip"
/>
</RelativeLayout>