Changeset View
Changeset View
Standalone View
Standalone View
res/layout/list_item_systemvolume.xml
- This file was added.
1 | <?xml version="1.0" encoding="utf-8"?> | ||||
---|---|---|---|---|---|
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
3 | android:orientation="vertical" android:layout_width="match_parent" | ||||
4 | android:layout_height="match_parent"> | ||||
5 | | ||||
6 | <TextView | ||||
7 | android:id="@+id/systemvolume_label" | ||||
8 | android:layout_width="match_parent" | ||||
9 | android:layout_height="wrap_content" | ||||
10 | android:layout_marginTop="5dp" | ||||
11 | android:textAppearance="@style/TextAppearance.AppCompat.Medium"/> | ||||
12 | | ||||
13 | <LinearLayout | ||||
14 | android:orientation="horizontal" | ||||
15 | android:layout_width="match_parent" | ||||
16 | android:layout_height="wrap_content" | ||||
17 | android:id="@+id/systemvolume_layout" | ||||
18 | android:layout_gravity="center" | ||||
19 | android:layout_marginTop="8dip"> | ||||
20 | | ||||
21 | <ImageButton | ||||
22 | android:id="@+id/systemvolume_mute" | ||||
23 | android:layout_width="30dp" | ||||
24 | android:layout_height="30dp" | ||||
25 | android:src="@drawable/ic_volume_black" | ||||
26 | android:background="@android:color/transparent" | ||||
27 | android:scaleType="fitXY" | ||||
28 | android:contentDescription="@string/mute" | ||||
29 | /> | ||||
30 | | ||||
31 | <SeekBar | ||||
32 | android:layout_width="wrap_content" | ||||
33 | android:layout_height="wrap_content" | ||||
34 | android:id="@+id/systemvolume_seek" | ||||
35 | android:layout_weight="1" | ||||
36 | android:max="100" | ||||
37 | android:layout_gravity="center" | ||||
38 | /> | ||||
39 | | ||||
40 | </LinearLayout> | ||||
41 | | ||||
42 | | ||||
43 | </LinearLayout> | ||||
44 | No newline at end of file |