summaryrefslogtreecommitdiffstats
path: root/res/layout/widget_progress_bar.xml
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-06-12 12:32:50 -0400
committerJason Monk <jmonk@google.com>2015-06-16 09:15:39 -0400
commit2cdafc6be386bb767404e42fc728a1a810aa896a (patch)
treed8b5dc9dc8ab39d0ec4721c800f14e3c413327de /res/layout/widget_progress_bar.xml
parentedb7b0d9a900a4a560d0777032600b52f38efd23 (diff)
downloadpackages_apps_Settings-2cdafc6be386bb767404e42fc728a1a810aa896a.zip
packages_apps_Settings-2cdafc6be386bb767404e42fc728a1a810aa896a.tar.gz
packages_apps_Settings-2cdafc6be386bb767404e42fc728a1a810aa896a.tar.bz2
Layout refinement for app lists
Make all app lists (or at least all current app lists) use the same base layout for icon, label, and sizing/padding. This way they should look the same. Bug: 21727125 Bug: 21726922 Bug: 21853632 Change-Id: I3cffadb9e7b5184d4209deacd4ea70ec1d4f71b4
Diffstat (limited to 'res/layout/widget_progress_bar.xml')
-rw-r--r--res/layout/widget_progress_bar.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/res/layout/widget_progress_bar.xml b/res/layout/widget_progress_bar.xml
new file mode 100644
index 0000000..a2a5154
--- /dev/null
+++ b/res/layout/widget_progress_bar.xml
@@ -0,0 +1,23 @@
+<?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="@android:id/progress"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:max="100"
+ style="?android:attr/progressBarStyleHorizontal" />