Make the OAuth authorization available or not depending upon a variable in oauth.xml
[pub/Android/ownCloud.git] / res / layout / action_item.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012 Bartek Przybylski
6 Copyright (C) 2012-2013 ownCloud Inc.
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 -->
21 <LinearLayout
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 android:orientation="horizontal"
24 android:layout_width="fill_parent"
25 android:layout_height="wrap_content"
26 android:clickable="true"
27 android:focusable="true"
28 android:background="@drawable/action_item_btn">
29
30 <ImageView
31 android:id="@+id/icon"
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"/>
34
35 <TextView
36 android:id="@+id/title"
37 android:layout_width="fill_parent"
38 android:layout_height="fill_parent"
39 android:gravity="center_vertical"
40 android:paddingLeft="5dip"
41 android:paddingRight="10dip"
42 android:text="Chart"
43 android:textColor="#fff"/>
44
45 </LinearLayout>