diff options
Diffstat (limited to 'res/layout/widget_conversation_list.xml')
-rw-r--r-- | res/layout/widget_conversation_list.xml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/res/layout/widget_conversation_list.xml b/res/layout/widget_conversation_list.xml new file mode 100644 index 0000000..822fe55 --- /dev/null +++ b/res/layout/widget_conversation_list.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015 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:layout_width="match_parent" + android:layout_height="match_parent" + android:padding="@dimen/widget_margin" + android:orientation="vertical"> + <LinearLayout + android:id="@+id/widget_header" + android:layout_width="match_parent" + android:layout_height="@dimen/widget_header_height" + android:orientation="horizontal" + android:paddingLeft="8dip" + android:background="@drawable/widget_top_background" + android:gravity="center_vertical"> + <TextView + android:id="@+id/widget_label" + style="@style/WidgetTitle" + android:layout_height="wrap_content" + android:layout_width="0dip" + android:layout_weight = "1" + android:contentDescription="@string/widget_title_content_description" + android:freezesText="true" /> + <ImageButton + android:id="@+id/widget_compose" + style="@style/WidgetHeaderImage" + android:layout_width="@dimen/widget_header_new_conv_button_width" + android:layout_height="match_parent" + android:src="@drawable/ic_add_white" + android:background="?android:attr/selectableItemBackground" + android:contentDescription="@string/widget_new_conversation_content_description" + android:paddingRight="8dip" + android:paddingBottom="4dip" /> + </LinearLayout> + <ImageView + android:layout_width="match_parent" + android:layout_height="1dp" + android:background="#aaaaaa" + android:importantForAccessibility="no" + android:contentDescription="@null" /> + <ListView + android:id="@+id/conversation_list" + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" + android:cacheColorHint="#00000000" + android:divider="@android:drawable/divider_horizontal_bright" + android:background="@drawable/widget_bottom_background" /> +</LinearLayout> |