Small UI Changes

This commit is contained in:
Anthony Restaino 2014-07-15 19:16:08 -04:00
parent f67cc05541
commit a9b36df80e
5 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -69,7 +69,7 @@
android:background="@drawable/list_bg"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingLeft="16dp"
android:paddingLeft="12dp"
android:textStyle="bold"
android:paddingRight="16dp"
android:text="@string/action_new_tab"
@ -168,7 +168,7 @@
android:textStyle="bold"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingLeft="16dp"
android:paddingLeft="12dp"
android:paddingRight="16dp"
android:text="@string/action_bookmarks"
android:textAppearance="?android:attr/textAppearanceMedium"

View File

@ -12,7 +12,7 @@
android:layout_height="24dp"
android:contentDescription="Favicon"
android:gravity="center_vertical"
android:layout_marginLeft="4dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="2dp"
android:paddingLeft="2dp"
android:paddingRight="2dp" >

View File

@ -14,7 +14,7 @@
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:gravity="center_vertical"
android:layout_marginLeft="4dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="2dp"
android:paddingLeft="2dp"
android:paddingRight="2dp" >

View File

@ -535,7 +535,7 @@ public class BrowserActivity extends Activity implements BrowserController {
}
public void setNavigationDrawerWidth() {
int width = getResources().getDisplayMetrics().widthPixels * 4 / 5;
int width = getResources().getDisplayMetrics().widthPixels * 3 / 4;
int maxWidth = Utils.convertToDensityPixels(mContext, 300);
if (width > maxWidth) {
DrawerLayout.LayoutParams params = (android.support.v4.widget.DrawerLayout.LayoutParams) mDrawer