Merge "Fix bug 3501766 - Make the action bar "up" visual more prominent" into honeycomb-mr1
@@ -385,7 +385,7 @@ public class ActionBarView extends ViewGroup {
|
||||
|
||||
if ((flagsChanged & ActionBar.DISPLAY_HOME_AS_UP) != 0) {
|
||||
mHomeAsUpView.setVisibility((options & ActionBar.DISPLAY_HOME_AS_UP) != 0
|
||||
? VISIBLE : INVISIBLE);
|
||||
? VISIBLE : GONE);
|
||||
}
|
||||
|
||||
if ((flagsChanged & ActionBar.DISPLAY_USE_LOGO) != 0) {
|
||||
|
||||
|
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 938 B |
|
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 975 B |
|
Before Width: | Height: | Size: 483 B After Width: | Height: | Size: 709 B |
|
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 728 B |
@@ -14,16 +14,18 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:orientation="horizontal">
|
||||
<ImageView android:id="@android:id/up"
|
||||
android:src="?android:attr/homeAsUpIndicator"
|
||||
android:layout_gravity="top|left"
|
||||
android:visibility="invisible"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="-12dip" />
|
||||
<ImageView android:id="@android:id/home"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
@@ -31,4 +33,4 @@
|
||||
android:paddingRight="16dip"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="center" />
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||