Display shadow behind progress bar for non Lollipop devices
This commit is contained in:
parent
9ff1614a0f
commit
4699b583f0
@ -25,7 +25,7 @@
|
|||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginLeft="16dp"
|
android:layout_marginLeft="16dp"
|
||||||
android:layout_marginRight="16dp"
|
android:layout_marginRight="16dp"
|
||||||
android:contentDescription="Favicon"
|
android:contentDescription="@string/action_new_tab"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:src="@drawable/ic_action_plus" >
|
android:src="@drawable/ic_action_plus" >
|
||||||
</ImageView>
|
</ImageView>
|
||||||
@ -55,7 +55,6 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_below="@+id/view"
|
|
||||||
android:choiceMode="singleChoice"
|
android:choiceMode="singleChoice"
|
||||||
android:dividerHeight="1dp"
|
android:dividerHeight="1dp"
|
||||||
android:listSelector="?attr/listBackground" />
|
android:listSelector="?attr/listBackground" />
|
||||||
|
@ -15,12 +15,18 @@
|
|||||||
custom:contentInsetEnd="0dp"
|
custom:contentInsetEnd="0dp"
|
||||||
custom:contentInsetStart="0dp" />
|
custom:contentInsetStart="0dp" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="?attr/progressBackgroundColor" >
|
||||||
|
|
||||||
<acr.browser.lightning.AnimatedProgressBar
|
<acr.browser.lightning.AnimatedProgressBar
|
||||||
android:id="@+id/progress_view"
|
android:id="@+id/progress_view"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="2dp"
|
android:layout_height="2dp"
|
||||||
custom:backgroundColor="?attr/progressBackgroundColor"
|
custom:backgroundColor="#00000000"
|
||||||
custom:bidirectionalAnimate="false"
|
custom:bidirectionalAnimate="false"
|
||||||
custom:progressColor="?attr/colorAccent" />
|
custom:progressColor="?attr/colorAccent" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
Loading…
x
Reference in New Issue
Block a user