Bug 872986 - New unlabelled, and seemingly invisible, control in awesome bar. r=sriram

This commit is contained in:
Max Li 2013-05-28 21:34:08 -04:00
parent 90fd51f4ba
commit 9886c6a6eb
3 changed files with 6 additions and 0 deletions

View File

@ -347,6 +347,10 @@ public class BrowserToolbar implements Tabs.OnTabsChangedListener,
} }
}); });
if (Build.VERSION.SDK_INT >= 16) {
mShadow.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
}
mHandler = new Handler(); mHandler = new Handler();
float slideWidth = mActivity.getResources().getDimension(R.dimen.browser_toolbar_lock_width); float slideWidth = mActivity.getResources().getDimension(R.dimen.browser_toolbar_lock_width);

View File

@ -150,6 +150,7 @@
android:layout_height="2dp" android:layout_height="2dp"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:background="@drawable/address_bar_bg_shadow_repeat" android:background="@drawable/address_bar_bg_shadow_repeat"
android:contentDescription="@null"
android:visibility="gone"/> android:visibility="gone"/>
</org.mozilla.gecko.BrowserToolbarLayout> </org.mozilla.gecko.BrowserToolbarLayout>

View File

@ -155,6 +155,7 @@
android:layout_height="2dp" android:layout_height="2dp"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:background="@drawable/address_bar_bg_shadow_repeat" android:background="@drawable/address_bar_bg_shadow_repeat"
android:contentDescription="@null"
android:visibility="gone"/> android:visibility="gone"/>
</org.mozilla.gecko.BrowserToolbarLayout> </org.mozilla.gecko.BrowserToolbarLayout>