diff options
Diffstat (limited to 'fmapp2/res/layout/action_bar.xml')
-rw-r--r-- | fmapp2/res/layout/action_bar.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/fmapp2/res/layout/action_bar.xml b/fmapp2/res/layout/action_bar.xml new file mode 100644 index 0000000..b4915ef --- /dev/null +++ b/fmapp2/res/layout/action_bar.xml @@ -0,0 +1,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="#FFFFFF" + 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> |