Merge "Remove LinearColorBar and replace uses with ProgressBar." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-20 17:11:51 +00:00
committed by Android (Google) Code Review
14 changed files with 61 additions and 348 deletions

View File

@@ -70,8 +70,8 @@
android:id="@+id/determinateBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="10dp"
android:progressDrawable="@drawable/data_usage_progress"/>
android:layout_height="wrap_content"
android:progressDrawable="@drawable/color_bar_progress"/>
<LinearLayout
android:id="@+id/label_bar"

View File

@@ -36,11 +36,12 @@
android:gravity="left|center_vertical"
android:text="@string/running_processes_header_title" />
<view class="com.android.settings.widget.LinearColorBar"
<ProgressBar
android:id="@+id/color_bar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="16sp"
android:orientation="horizontal" />
android:layout_height="wrap_content"
android:progressDrawable="@drawable/color_bar_progress"/>
<LinearLayout
android:layout_width="match_parent"

View File

@@ -42,11 +42,12 @@
android:paddingBottom="5dp"
android:maxLines="10" />
<com.android.settings.widget.LinearColorBar
<ProgressBar
android:id="@+id/color_bar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="28dp"
/>
android:layout_height="wrap_content"
android:progressDrawable="@drawable/color_bar_progress"/>
<LinearLayout
android:id="@+id/label_bar"