Merge branch 'material_buttons' of https://github.com/owncloud/android into material_fab
[pub/Android/ownCloud.git] / res / layout / loading_dialog.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2015 ownCloud Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2,
9 as published by the Free Software Foundation.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:id="@+id/loadingLayout"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:orientation="horizontal"
24 android:padding="@dimen/standard_padding">
25
26 <ProgressBar
27 android:id="@+id/loadingBar"
28 style="?android:attr/progressBarStyle"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:layout_gravity="center_vertical"
32 android:indeterminate="true"
33 android:indeterminateOnly="false"/>
34
35 <TextView
36 android:id="@+id/loadingText"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:layout_gravity="center_vertical"
40 android:layout_marginLeft="@dimen/standard_margin"
41 android:text="TextView" />
42
43 </LinearLayout>