Browse Source

Fixed bug with fragment background

master
Anthony Restaino 9 years ago
parent
commit
ee6314f521
  1. 16
      app/src/main/res/layout/bookmark_drawer.xml
  2. 1
      app/src/main/res/layout/tab_drawer.xml
  3. 4
      app/src/main/res/layout/tab_strip.xml

16
app/src/main/res/layout/bookmark_drawer.xml

@ -1,7 +1,9 @@ @@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/drawerBackground"
android:clickable="true"
android:orientation="vertical">
@ -26,7 +28,7 @@ @@ -26,7 +28,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="Favicon"
android:src="@drawable/ic_action_star" />
android:src="@drawable/ic_action_star"/>
</FrameLayout>
<TextView
@ -38,7 +40,7 @@ @@ -38,7 +40,7 @@
android:maxLines="1"
android:minHeight="?android:attr/listPreferredItemHeight"
android:text="@string/action_bookmarks"
android:textAppearance="?android:attr/textAppearanceLarge" />
android:textAppearance="?android:attr/textAppearanceLarge"/>
</LinearLayout>
<ListView
@ -48,7 +50,7 @@ @@ -48,7 +50,7 @@
android:layout_weight="1"
android:divider="@null"
android:dividerHeight="0dp"
android:listSelector="?attr/listBackground" />
android:listSelector="?attr/listBackground"/>
<LinearLayout
android:layout_width="match_parent"
@ -76,7 +78,7 @@ @@ -76,7 +78,7 @@
android:paddingLeft="4dp"
android:paddingRight="4dp"
android:paddingTop="4dp"
android:src="@drawable/ic_action_desktop" />
android:src="@drawable/ic_action_desktop"/>
</FrameLayout>
<FrameLayout
@ -97,7 +99,7 @@ @@ -97,7 +99,7 @@
android:paddingLeft="4dp"
android:paddingRight="4dp"
android:paddingTop="4dp"
android:src="@drawable/ic_action_star" />
android:src="@drawable/ic_action_star"/>
</FrameLayout>
<FrameLayout
@ -118,7 +120,7 @@ @@ -118,7 +120,7 @@
android:paddingLeft="4dp"
android:paddingRight="4dp"
android:paddingTop="4dp"
android:src="@drawable/ic_action_reading" />
android:src="@drawable/ic_action_reading"/>
</FrameLayout>
</LinearLayout>
</LinearLayout>

1
app/src/main/res/layout/tab_drawer.xml

@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/drawerBackground"
android:clickable="true"
android:orientation="vertical">

4
app/src/main/res/layout/tab_strip.xml

@ -12,9 +12,9 @@ @@ -12,9 +12,9 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:fadingEdge="horizontal"
android:overScrollMode="never"
android:scrollbars="none"
android:fadingEdge="horizontal"/>
android:scrollbars="none"/>
<ImageView
android:id="@+id/new_tab_button"

Loading…
Cancel
Save