Просмотр исходного кода

Fixed the festival section scrollview.

Iñigo Valentin 9 лет назад
Родитель
Сommit
ca05276155
1 измененных файлов с 17 добавлено и 16 удалено
  1. 17 16
      app/src/main/res/layout/fragment_layout_lablanca.xml

+ 17 - 16
app/src/main/res/layout/fragment_layout_lablanca.xml

@@ -5,14 +5,14 @@
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:background="@color/background_app"
-    android:padding="7dp"
     tools:ignore="Overdraw">
 
     <LinearLayout
-        android:orientation="vertical"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:paddingBottom="5dp">
+        android:layout_margin="10dp"
+        android:orientation="vertical"
+        >
 
         <LinearLayout
             android:layout_width="match_parent"
@@ -67,18 +67,15 @@
         </LinearLayout>
 
         <LinearLayout
-            android:orientation="vertical"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
+            android:layout_marginTop="15dp"
             android:background="@drawable/section"
-            android:layout_marginTop="15dp">
+            android:orientation="vertical">
 
             <TextView
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
-                android:textAppearance="?android:attr/textAppearanceLarge"
-                android:textStyle="bold"
-                tools:layout_width="match_parent"
                 android:background="@drawable/section_title"
                 android:paddingBottom="4dp"
                 android:paddingEnd="10dp"
@@ -86,8 +83,11 @@
                 android:paddingRight="10dp"
                 android:paddingStart="20dp"
                 android:paddingTop="4dp"
+                android:text="@string/lablanca_schedule"
+                android:textAppearance="?android:attr/textAppearanceLarge"
                 android:textColor="@color/section_title"
-                android:text="@string/lablanca_schedule"/>
+                android:textStyle="bold"
+                tools:layout_width="match_parent"/>
 
             <LinearLayout
                 android:layout_width="match_parent"
@@ -126,19 +126,16 @@
 
 
         <LinearLayout
-            android:orientation="vertical"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
+            android:layout_marginBottom="20dp"
+            android:layout_marginTop="12dp"
             android:background="@drawable/section"
-            android:layout_marginTop="12dp">
+            android:orientation="vertical">
 
             <TextView
-                android:text="@string/lablanca_prices"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
-                android:textAppearance="?android:attr/textAppearanceLarge"
-                android:textStyle="bold"
-                tools:layout_width="match_parent"
                 android:background="@drawable/section_title"
                 android:paddingBottom="4dp"
                 android:paddingEnd="10dp"
@@ -146,7 +143,11 @@
                 android:paddingRight="10dp"
                 android:paddingStart="20dp"
                 android:paddingTop="4dp"
-                android:textColor="@color/section_title"/>
+                android:text="@string/lablanca_prices"
+                android:textAppearance="?android:attr/textAppearanceLarge"
+                android:textColor="@color/section_title"
+                android:textStyle="bold"
+                tools:layout_width="match_parent"/>
 
             <LinearLayout
                 android:layout_width="match_parent"