blob: 75c862870b27a4c72c86a1c5208ca988a5c37570 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:enabled="false"
android:gravity="center_vertical"
android:orientation="horizontal" >
<ImageView android:id="@+id/btn_onoff"
android:src="@drawable/btn_onoff"
android:layout_alignParentLeft="true"
android:layout_marginLeft="15dp"
android:clickable="true"
android:focusable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView android:id="@+id/title"
android:paddingLeft="10dp"
android:textSize="18sp"
android:textColor="@color/white"
android:textAllCaps="true"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Space
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<ImageView android:id="@+id/btn_silent"
android:src="@drawable/ic_silent_mode_off"
android:layout_toLeftOf="@+id/btn_speaker_earphone"
android:layout_width="wrap_content"
android:layout_marginRight="10dp"
android:clickable="true"
android:focusable="true"
android:layout_height="wrap_content" />
<ImageView android:id="@+id/btn_speaker_earphone"
android:src="@drawable/btn_earphone"
android:layout_alignParentRight="true"
android:clickable="true"
android:focusable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
|