瀏覽代碼

layout fixes after rebase

Andy Scherzinger 9 年之前
父節點
當前提交
7ff136854b

+ 1 - 10
res/layout/uploader_layout.xml

@@ -18,7 +18,6 @@
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->
  -->
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              xmlns:app="http://schemas.android.com/apk/res-auto"
     android:id="@+id/upload_files_layout"
     android:id="@+id/upload_files_layout"
     android:layout_width="fill_parent"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:layout_height="fill_parent"
@@ -27,15 +26,7 @@
     <include
     <include
         layout="@layout/toolbar_standard" />
         layout="@layout/toolbar_standard" />
 
 
-	<TextView android:layout_width="fill_parent"
-		android:text="@string/uploader_top_message"
-		android:layout_height="wrap_content"
-		android:id="@+id/drawer_username"
-		android:textColor="@android:color/black"
-		android:gravity="center_horizontal">
-	</TextView>
-
-	<FrameLayout android:layout_height="fill_parent"
+	<FrameLayout android:layout_height="0dp"
 		android:layout_width="fill_parent"
 		android:layout_width="fill_parent"
 		android:id="@+id/frameLayout1"
 		android:id="@+id/frameLayout1"
 		android:layout_weight="1">
 		android:layout_weight="1">

+ 1 - 1
src/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java

@@ -386,7 +386,7 @@ public class ReceiveExternalFilesActivity extends FileActivity
 
 
         String current_dir = mParents.peek();
         String current_dir = mParents.peek();
         if (current_dir.equals("")) {
         if (current_dir.equals("")) {
-            actionBar.setTitle(getString(R.string.default_display_name_for_root_folder));
+            actionBar.setTitle(getString(R.string.uploader_top_message));
         } else {
         } else {
             actionBar.setTitle(current_dir);
             actionBar.setTitle(current_dir);
         }
         }