diff options
Diffstat (limited to 'res/layout/action_bar_two_line_text.xml')
-rw-r--r-- | res/layout/action_bar_two_line_text.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/res/layout/action_bar_two_line_text.xml b/res/layout/action_bar_two_line_text.xml new file mode 100644 index 000000000..92a4af926 --- /dev/null +++ b/res/layout/action_bar_two_line_text.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2006 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. +--> +<TwoLineListItem xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/ActionBarTwoLineItem" + android:layout_height="match_parent" + android:orientation="vertical" + android:gravity="center_vertical" + android:duplicateParentState="false" + android:layout_alignParentLeft="true" + android:layout_width="wrap_content" > + <TextView + android:id="@android:id/text1" + style="@style/ActionBarTwoLinePrimary" + android:singleLine="true" + android:ellipsize="end" + android:includeFontPadding="false" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + <TextView + android:id="@android:id/text2" + style="@style/ActionBarTwoLineSecondary" + android:singleLine="true" + android:ellipsize="end" + android:includeFontPadding="false" + android:layout_marginRight="4dp" + android:layout_below="@android:id/text1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> +</TwoLineListItem> |