Browse Source

fixed header

AndyScherzinger 8 years ago
parent
commit
80acab84f6
1 changed files with 30 additions and 29 deletions
  1. 30 29
      res/layout/upload_file_dialog.xml

+ 30 - 29
res/layout/upload_file_dialog.xml

@@ -1,36 +1,37 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- 
-    ownCloud Android client application
-
-    Copyright (C) 2012  Bartek Przybylski
-    Copyright (C) 2015 ownCloud Inc.
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License version 2,
-    as published by the Free Software Foundation.
-  
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+<!--
+  Nextcloud Android client application
+
+  Copyright (C) 2016 zmatsuo
+  Copyright (C) 2016 Nextcloud.
+
+  This program is free software; you can redistribute it and/or
+  modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+  License as published by the Free Software Foundation; either
+  version 3 of the License, or any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU AFFERO GENERAL PUBLIC LICENSE for more details.
+
+  You should have received a copy of the GNU Affero General Public
+  License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 -->
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
               xmlns:tools="http://schemas.android.com/tools"
               android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:gravity="clip_horizontal"
-    android:orientation="vertical"
-    android:padding="@dimen/standard_padding">
+              android:layout_height="match_parent"
+              android:gravity="clip_horizontal"
+              android:orientation="vertical"
+              android:padding="@dimen/standard_padding">
 
     <TextView
-        android:text="@string/upload_file_dialog_filename"
+        android:id="@+id/label_file_name"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:id="@+id/textView"
-        tools:text="filename"/>
+        android:text="@string/upload_file_dialog_filename"
+        tools:text="@string/upload_file_dialog_filename"/>
 
     <EditText
         android:id="@+id/user_input"
@@ -40,15 +41,15 @@
         android:inputType="textNoSuggestions|textCapSentences"/>
 
     <TextView
-        android:text="@string/upload_file_dialog_filetype"
+        android:id="@+id/label_file_type"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:id="@+id/textView2"
-        tools:text="filetype"/>
+        android:text="@string/upload_file_dialog_filetype"
+        tools:text="@string/upload_file_dialog_filetype"/>
 
     <Spinner
+        android:id="@+id/file_type"
         android:layout_width="match_parent"
-        android:layout_height="wrap_content"
-        android:id="@+id/file_type"/>
+        android:layout_height="wrap_content"/>
 
 </LinearLayout>