diff options
author | jruesga <jorge@ruesga.com> | 2012-09-23 11:58:16 +0200 |
---|---|---|
committer | jruesga <jorge@ruesga.com> | 2012-09-23 11:58:16 +0200 |
commit | 9f3ab76a22e214c3ba4ffa5d9a1aeeddea050020 (patch) | |
tree | 53a85601fdee0812f6711d8bffc293115ca6ba32 /res/layout | |
parent | 1a2f0c83281fb4cc278a8062da53ffff1c6607f6 (diff) | |
download | android_packages_apps_CMFileManager-9f3ab76a22e214c3ba4ffa5d9a1aeeddea050020.tar.gz android_packages_apps_CMFileManager-9f3ab76a22e214c3ba4ffa5d9a1aeeddea050020.tar.bz2 android_packages_apps_CMFileManager-9f3ab76a22e214c3ba4ffa5d9a1aeeddea050020.zip |
Make selection small than status bar
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/dialog_title.xml | 10 | ||||
-rw-r--r-- | res/layout/message_progress_dialog.xml | 8 | ||||
-rw-r--r-- | res/layout/navigation.xml | 3 | ||||
-rw-r--r-- | res/layout/navigation_view_selectionbar.xml | 13 |
4 files changed, 19 insertions, 15 deletions
diff --git a/res/layout/dialog_title.xml b/res/layout/dialog_title.xml index d8c4e313..c676f9b8 100644 --- a/res/layout/dialog_title.xml +++ b/res/layout/dialog_title.xml @@ -19,15 +19,15 @@ <ImageButton android:id="@+id/dialog_title_icon" - android:layout_width="@dimen/small_row_height" - android:layout_height="@dimen/small_row_height" + android:layout_width="@dimen/smallest_row_height" + android:layout_height="@dimen/smallest_row_height" android:layout_gravity="center_vertical" android:layout_marginLeft="@dimen/extra_margin" android:layout_marginRight="@dimen/default_margin" android:contentDescription="@null" - android:height="@dimen/small_row_height" - android:src="@null" - android:width="@dimen/small_row_height" /> + android:height="@dimen/smallest_row_height" + android:width="@dimen/smallest_row_height" + android:src="@null" /> <TextView android:id="@+id/dialog_title_text" diff --git a/res/layout/message_progress_dialog.xml b/res/layout/message_progress_dialog.xml index 341adec1..06f445d3 100644 --- a/res/layout/message_progress_dialog.xml +++ b/res/layout/message_progress_dialog.xml @@ -21,8 +21,8 @@ <ProgressBar android:id="@+id/message_progress_dialog_waiting" - android:layout_width="@dimen/small_row_height" - android:layout_height="@dimen/small_row_height" + android:layout_width="@dimen/smallest_row_height" + android:layout_height="@dimen/smallest_row_height" android:layout_centerVertical="true" android:layout_marginLeft="@dimen/extra_large_margin" android:indeterminate="true" @@ -36,7 +36,7 @@ android:layout_marginRight="@dimen/extra_large_margin" android:layout_toRightOf="@id/message_progress_dialog_waiting" android:gravity="left|center_vertical" - android:minHeight="@dimen/small_row_height" + android:minHeight="@dimen/smallest_row_height" android:singleLine="false" android:text="@null" android:textAppearance="@style/primary_text_appearance" @@ -51,7 +51,7 @@ android:layout_marginRight="@dimen/extra_large_margin" android:layout_toRightOf="@id/message_progress_dialog_waiting" android:gravity="left|center_vertical" - android:minHeight="@dimen/small_row_height" + android:minHeight="@dimen/smallest_row_height" android:singleLine="false" android:text="@null" android:textAppearance="@style/secondary_text_appearance" diff --git a/res/layout/navigation.xml b/res/layout/navigation.xml index 10468cb4..6c8fc177 100644 --- a/res/layout/navigation.xml +++ b/res/layout/navigation.xml @@ -30,7 +30,8 @@ <com.cyanogenmod.explorer.ui.widgets.SelectionView android:id="@+id/navigation_selectionbar" android:layout_width="match_parent" - android:layout_height="@dimen/default_row_height" /> + android:layout_height="@dimen/small_row_height" + android:visibility="invisible" /> <!-- StatusBar --> <include diff --git a/res/layout/navigation_view_selectionbar.xml b/res/layout/navigation_view_selectionbar.xml index c3daaf7a..2874df09 100644 --- a/res/layout/navigation_view_selectionbar.xml +++ b/res/layout/navigation_view_selectionbar.xml @@ -17,15 +17,18 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@drawable/bg_holo_statusbar" - android:orientation="horizontal"> + android:background="@drawable/bg_holo_selectionbar" + android:orientation="horizontal" > <com.cyanogenmod.explorer.ui.widgets.ButtonItem android:id="@+id/ab_selection_done" - android:layout_width="@dimen/default_buttom_width" - android:layout_height="match_parent" + android:layout_width="@dimen/small_buttom_width" + android:layout_height="@dimen/small_buttom_width" + android:width="@dimen/smallest_buttom_width" + android:height="@dimen/smallest_buttom_width" android:contentDescription="@string/actionbar_button_selection_done_cd" android:onClick="onActionBarItemClick" + android:scaleType="fitCenter" android:src="@drawable/ic_holo_light_accept" /> <include layout="@layout/horizontal_divider" @@ -42,6 +45,6 @@ android:ellipsize="end" android:gravity="left|center_vertical" android:text="@null" - android:textAppearance="@style/primary_text_appearance" /> + android:textAppearance="@style/secondary_text_appearance" /> </LinearLayout>
\ No newline at end of file |