Display shadow behind progress bar for non Lollipop devices

This commit is contained in:
Anthony Restaino 2015-03-26 18:46:38 -04:00
parent 9ff1614a0f
commit 4699b583f0
2 changed files with 13 additions and 8 deletions

View File

@ -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 @@
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" />

View File

@ -15,12 +15,18 @@
custom:contentInsetEnd="0dp"
custom:contentInsetStart="0dp" />
<acr.browser.lightning.AnimatedProgressBar
android:id="@+id/progress_view"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="2dp"
custom:backgroundColor="?attr/progressBackgroundColor"
custom:bidirectionalAnimate="false"
custom:progressColor="?attr/colorAccent" />
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="#00000000"
custom:bidirectionalAnimate="false"
custom:progressColor="?attr/colorAccent" />
</LinearLayout>
</LinearLayout>