aboutsummaryrefslogtreecommitdiff
path: root/setupwizardlib/src/main/res/layout
diff options
context:
space:
mode:
authorTrumeet <liangyuteng12345@gmail.com>2017-08-27 21:49:46 +0800
committerTrumeet <liangyuteng12345@gmail.com>2017-08-27 21:49:46 +0800
commita68ed5a035b21daa847937d37607242b7166e570 (patch)
tree457b778b001fc941c41ba94fc52f668684a92572 /setupwizardlib/src/main/res/layout
parent07eb282b4af98146413e9911e7cdf4fceed9192e (diff)
downloadSetupWizardLibCompat-master.tar
SetupWizardLibCompat-master.tar.gz
SetupWizardLibCompat-master.tar.bz2
SetupWizardLibCompat-master.zip
fix: progress bar crash on pre-lollipopHEAD0.3master
Diffstat (limited to 'setupwizardlib/src/main/res/layout')
-rw-r--r--setupwizardlib/src/main/res/layout/suw_progress_bar.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/setupwizardlib/src/main/res/layout/suw_progress_bar.xml b/setupwizardlib/src/main/res/layout/suw_progress_bar.xml
new file mode 100644
index 0000000..cbb69ea
--- /dev/null
+++ b/setupwizardlib/src/main/res/layout/suw_progress_bar.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<ProgressBar xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/progress_bar"
+ style="?android:attr/progressBarStyleHorizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/suw_progress_bar_margin_vertical"
+ android:layout_marginTop="@dimen/suw_progress_bar_margin_vertical"
+ android:indeterminate="true" />