Browse Source

Small UI Changes

master
Anthony Restaino 10 years ago
parent
commit
a9b36df80e
  1. BIN
      libs/android-support-v4.jar
  2. 4
      res/layout/activity_main.xml
  3. 2
      res/layout/bookmark_list_item.xml
  4. 2
      res/layout/tab_list_item.xml
  5. 2
      src/acr/browser/lightning/BrowserActivity.java

BIN
libs/android-support-v4.jar

Binary file not shown.

4
res/layout/activity_main.xml

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

2
res/layout/bookmark_list_item.xml

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

2
res/layout/tab_list_item.xml

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

2
src/acr/browser/lightning/BrowserActivity.java

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

Loading…
Cancel
Save