Browse Source

Display shadow behind progress bar for non Lollipop devices

master
Anthony Restaino 10 years ago
parent
commit
4699b583f0
  1. 3
      res/layout/tab_drawer.xml
  2. 8
      res/layout/toolbar.xml

3
res/layout/tab_drawer.xml

@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:contentDescription="Favicon"
android:contentDescription="@string/action_new_tab"
android:gravity="center_vertical"
android:src="@drawable/ic_action_plus" >
</ImageView>
@ -55,7 +55,6 @@ @@ -55,7 +55,6 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_below="@+id/view"
android:choiceMode="singleChoice"
android:dividerHeight="1dp"
android:listSelector="?attr/listBackground" />

8
res/layout/toolbar.xml

@ -15,12 +15,18 @@ @@ -15,12 +15,18 @@
custom:contentInsetEnd="0dp"
custom:contentInsetStart="0dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/progressBackgroundColor" >
<acr.browser.lightning.AnimatedProgressBar
android:id="@+id/progress_view"
android:layout_width="match_parent"
android:layout_height="2dp"
custom:backgroundColor="?attr/progressBackgroundColor"
custom:backgroundColor="#00000000"
custom:bidirectionalAnimate="false"
custom:progressColor="?attr/colorAccent" />
</LinearLayout>
</LinearLayout>
Loading…
Cancel
Save