123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:id="@+id/rl_one"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal"
- >
- <ProgressBar
- android:id="@+id/pb_one"
- android:layout_width="30dp"
- android:layout_height="match_parent"
- android:indeterminateOnly="false"
- android:max="80"
- android:progressDrawable="@drawable/progress_vertical_gradient_simple_shape" />
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:background="#FFFFFF"
- android:alpha="0.1"/>
- />
- <ProgressBar
- android:id="@+id/pb_two"
- android:layout_width="30dp"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:indeterminateOnly="false"
- android:max="80"
- android:progressDrawable="@drawable/progress_vertical_gradient_simple_shapev2" />
- </LinearLayout>
- <RelativeLayout
- android:id="@+id/rl_two"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone">
- <FrameLayout
- android:layout_width="40dp"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:background="@drawable/test_color_left" />
- <FrameLayout
- android:layout_width="40dp"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:background="@drawable/test_color_right" />
- </RelativeLayout>
- </RelativeLayout>
|