Small UI Changes
This commit is contained in:
parent
f67cc05541
commit
a9b36df80e
Binary file not shown.
@ -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"
|
||||
|
@ -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" >
|
||||
|
@ -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" >
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user