|
@@ -26,19 +26,54 @@
|
|
|
android:orientation="vertical"
|
|
|
android:padding="@dimen/standard_padding">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/folder_sync_settings_title"
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/top_title"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/folder_sync_preferences"
|
|
|
- android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/folder_sync_settings_subtitle"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/placeholder_filename"
|
|
|
- android:textSize="@dimen/two_line_primary_text_size"/>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:paddingBottom="@dimen/standard_padding"
|
|
|
+ android:paddingTop="@dimen/standard_padding"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/folder_sync_settings_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/folder_sync_preferences"
|
|
|
+ android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/folder_sync_settings_subtitle"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/placeholder_filename"
|
|
|
+ android:textSize="@dimen/two_line_primary_text_size"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="end|top"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/standard_padding"
|
|
|
+ android:paddingLeft="@dimen/standard_padding">
|
|
|
+
|
|
|
+ <android.support.v7.widget.SwitchCompat
|
|
|
+ android:id="@+id/sync_enabled"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@null"
|
|
|
+ android:clickable="false"
|
|
|
+ android:focusable="false"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<ScrollView
|
|
|
android:id="@+id/details_scroll"
|
|
@@ -88,22 +123,6 @@
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/local_folder_frame"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="end|center_vertical"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingLeft="@dimen/standard_padding">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/local_folder_status_icon"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:src="@drawable/ic_cloud_sync_off"/>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|