@ -1,6 +1,4 @@
@@ -1,6 +1,4 @@
<!--
Copyright 2014 ACR Development
-->
<!-- Copyright 2014 ACR Development -->
<LinearLayout xmlns:android= "http://schemas.android.com/apk/res/android"
android:id="@+id/main_layout"
android:layout_width="match_parent"
@ -25,33 +23,17 @@
@@ -25,33 +23,17 @@
android:progressDrawable="@drawable/progress" />
</LinearLayout>
<!-- A DrawerLayout is intended to be used as the top - level content view using match_parent for both width and height to consume the full space available. -->
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<!--
As the main content view, the view below consumes the entire
space available using match_parent in both dimensions.
-->
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!--
android:layout_gravity="start" tells DrawerLayout to treat
this as a sliding drawer on the left side for left-to-right
languages and on the right side for right-to-left languages.
The drawer is given a fixed width in dp and extends the full height of
the container. A solid background is used for contrast
with the content view.
-->
<RelativeLayout
android:id="@+id/drawer"
android:layout_width="@dimen/navigation_width"
@ -61,20 +43,44 @@
@@ -61,20 +43,44 @@
android:clickable="true"
android:orientation="vertical" >
<TextView
<RelativeLayout
android:id="@+id/new_tab_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="@drawable/list_bg"
android:gravity="center_vertical"
android:orientation="horizontal" >
<ImageView
android:id="@+id/plusIcon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="2dp"
android:contentDescription="Favicon"
android:gravity="center_vertical"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:src="@drawable/ic_action_plus" >
</ImageView>
<TextView
android:id="@+id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/plusIcon"
android:gravity="center_vertical"
android:maxLines="1"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingLeft="12dp"
android:textStyle="bold"
android:paddingRight="16dp"
android:text="@string/action_new_tab"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:textColor="@color/black"
android:textStyle="bold" />
</RelativeLayout>
<View
android:id="@+id/view"
@ -89,9 +95,9 @@
@@ -89,9 +95,9 @@
android:layout_height="match_parent"
android:layout_above="@+id/lineView"
android:layout_below="@+id/view"
android:listSelector="@drawable/list_bg"
android:choiceMode="singleChoice"
android:dividerHeight="1dp" />
android:dividerHeight="1dp"
android:listSelector="@drawable/list_bg" />
<View
android:id="@+id/lineView"
@ -129,7 +135,6 @@
@@ -129,7 +135,6 @@
android:src="@drawable/ic_action_back" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/action_forward"
android:layout_width="match_parent"
@ -161,18 +166,44 @@
@@ -161,18 +166,44 @@
android:clickable="true"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/bookmark_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="@drawable/list_bg"
android:gravity="center_vertical"
android:orientation="horizontal" >
<ImageView
android:id="@+id/starIcon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="2dp"
android:contentDescription="Favicon"
android:gravity="center_vertical"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:src="@drawable/ic_action_star" >
</ImageView>
<TextView
android:id="@+id/textView1"
android:id="@+id/text2 "
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/starIcon"
android:gravity="center_vertical"
android:maxLines="1"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingLeft="12dp"
android:paddingRight="16dp"
android:text="@string/action_bookmarks"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:textColor="@color/black"
android:textStyle="bold" />
</RelativeLayout>
<View
android:layout_width="fill_parent"
@ -183,9 +214,9 @@
@@ -183,9 +214,9 @@
android:id="@+id/right_drawer_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:listSelector="@drawable/list_bg"
android:divider="#bababa"
android:dividerHeight="1dp" />
android:dividerHeight="1dp"
android:listSelector="@drawable/list_bg" />
</LinearLayout>
</android.support.v4.widget.DrawerLayout>