volume_adjust.xml revision 54b6cfa9a9e5b861a9930af873580d6dc20f773c
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2007 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="wrap_content" 19 android:layout_height="wrap_content" 20 android:background="@android:drawable/panel_background" 21 android:orientation="vertical" 22 android:gravity="center_horizontal"> 23 24 <LinearLayout 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:layout_marginTop="14dip" 28 android:gravity="center_vertical"> 29 30 <ImageView 31 android:id="@+id/other_stream_icon" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:layout_marginRight="6dip" /> 35 36 <TextView 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:id="@+id/message" 40 android:textAppearance="?android:attr/textAppearanceMedium" /> 41 42 </LinearLayout> 43 44 <ImageView 45 android:id="@+id/ringer_stream_icon" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:layout_marginTop="14dip" /> 49 50 <ProgressBar 51 style="?android:attr/progressBarStyleHorizontal" 52 android:id="@+id/level" 53 android:layout_width="200dip" 54 android:layout_height="wrap_content" 55 android:layout_marginTop="14dip" 56 android:layout_marginBottom="14dip" 57 android:layout_marginLeft="25dip" 58 android:layout_marginRight="25dip" /> 59 60</LinearLayout> 61 62 63