Moved icon in drawer, removed unnecessary view in tab_list_item

This commit is contained in:
Anthony Restaino 2016-02-12 17:32:34 -05:00
parent 0ab302775c
commit f2d2c8ed5f
2 changed files with 74 additions and 82 deletions

View File

@ -75,23 +75,6 @@
android:src="@drawable/ic_action_back"/>
</FrameLayout>
<FrameLayout
android:id="@+id/new_tab_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?attr/actionBarItemBackground"
android:clickable="true">
<ImageView
android:id="@+id/icon_plus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="@string/action_new_tab"
android:src="@drawable/ic_action_plus" />
</FrameLayout>
<FrameLayout
android:id="@+id/action_home"
android:layout_width="match_parent"
@ -125,6 +108,23 @@
android:contentDescription="@string/action_forward"
android:src="@drawable/ic_action_forward"/>
</FrameLayout>
<FrameLayout
android:id="@+id/new_tab_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="?attr/actionBarItemBackground"
android:clickable="true">
<ImageView
android:id="@+id/icon_plus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="@string/action_new_tab"
android:src="@drawable/ic_action_plus"/>
</FrameLayout>
</LinearLayout>
</LinearLayout>

View File

@ -1,16 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tab_item_background"
<LinearLayout android:id="@+id/tab_item_background"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="56dp"
android:clickable="true"
android:gravity="center_vertical"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/listBackground"
android:clickable="true"
android:gravity="center_vertical"
android:orientation="horizontal"
android:weightSum="1">
@ -57,5 +51,3 @@
android:src="@drawable/ic_action_delete"/>
</FrameLayout>
</LinearLayout>
</LinearLayout>