diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-10-11 16:00:01 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-10-11 16:00:02 -0700 |
commit | 1f142b2e508b44d1692425f04060ff8d880fb310 (patch) | |
tree | 772ea03f17b4240fc7e3504d1ec5f1124bdb7bda /res/layout | |
parent | 55e26859a9255d617b6b9b2e72fb2c077831ca0e (diff) | |
parent | 40d60a4162f863380f228cd53d47eeb156114b2a (diff) | |
download | android_packages_apps_Snap-1f142b2e508b44d1692425f04060ff8d880fb310.tar.gz android_packages_apps_Snap-1f142b2e508b44d1692425f04060ff8d880fb310.tar.bz2 android_packages_apps_Snap-1f142b2e508b44d1692425f04060ff8d880fb310.zip |
Merge "Change ActionBar spinner text size on rotate" into gb-ub-photos-arches
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/action_bar_two_line_text.xml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/res/layout/action_bar_two_line_text.xml b/res/layout/action_bar_two_line_text.xml index 9b76a8072..95faffa12 100644 --- a/res/layout/action_bar_two_line_text.xml +++ b/res/layout/action_bar_two_line_text.xml @@ -14,29 +14,29 @@ limitations under the License. --> <TwoLineListItem xmlns:android="http://schemas.android.com/apk/res/android" - android:paddingLeft="18dp" - android:paddingRight="18dp" - android:background="?android:attr/activatedBackgroundIndicator" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" - android:mode="twoLine" - android:gravity="center_vertical" -> - <TextView xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@android:id/text1" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:singleLine="true" - android:ellipsize="end" - android:textSize="15dp" - /> - <TextView xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@android:id/text2" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@android:id/text1" - android:textSize="9dp" - android:singleLine="true" - /> + android:layout_height="match_parent" + android:orientation="vertical" + android:gravity="center_vertical" + android:background="?android:attr/activatedBackgroundIndicator" + 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> |