diff options
Diffstat (limited to 'res/layout/mod_button_fragment.xml')
-rw-r--r-- | res/layout/mod_button_fragment.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/res/layout/mod_button_fragment.xml b/res/layout/mod_button_fragment.xml new file mode 100644 index 00000000..ab96220e --- /dev/null +++ b/res/layout/mod_button_fragment.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2016 The CyanogenMod 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. +--> + +<!-- In-call Plugins touch UI elements, used on some platforms. + This layout is modeled after call_button_fragment --> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/bottomModButtons" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_margin="0dp" + android:padding="0dp" + android:background="@color/mod_button_background_color" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:animateLayoutChanges="true" > + + <LinearLayout + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="bottom|center_vertical" + android:layout_marginLeft="@dimen/mod_bar_margin_sides" + android:layout_marginRight="@dimen/mod_bar_margin_sides" + android:baselineAligned="true"> + + <ImageButton android:id="@+id/inCallProviders" + style="@style/ModButton" + android:background="@drawable/btn_mod_drawable" + android:contentDescription="@string/onscreenTransferCall" + android:visibility="gone" /> + + <!-- Take a note for this call --> + <ImageButton android:id="@+id/takeNoteButton" + style="@style/ModButton" + android:background="@drawable/btn_mod_drawable" + android:contentDescription="@string/onscreenNoteText" + android:visibility="gone" /> + + <!-- "Overflow" --> + <ImageButton android:id="@+id/overflowButton" + style="@style/ModButton" + android:background="@drawable/btn_overflow" + android:contentDescription="@string/onscreenModOverflowText" + android:visibility="gone" /> + + </LinearLayout> + +</LinearLayout> |