Synced folder dialog: remove local and remote folder icons

Signed-off-by: Alice Gaudon <alice@gaudon.pro>
This commit is contained in:
Alice Gaudon 2020-03-26 17:17:31 +01:00 committed by tobiasKaminsky
parent e5f56152b0
commit 7af28a1c36
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -82,107 +82,59 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
<RelativeLayout
android:id="@+id/local_folder_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false">
android:layout_weight="1"
android:padding="@dimen/standard_padding">
<RelativeLayout
android:layout_width="0dp"
<TextView
android:id="@+id/local_folder_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="@dimen/standard_padding">
android:maxLines="2"
android:text="@string/prefs_synced_folders_local_path_title"
android:textAppearance="?attr/textAppearanceListItem" />
<TextView
android:id="@+id/local_folder_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="2"
android:text="@string/prefs_synced_folders_local_path_title"
android:textAppearance="?attr/textAppearanceListItem" />
<TextView
android:id="@+id/local_folder_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/local_folder_title"
android:layout_alignStart="@id/local_folder_title"
android:ellipsize="middle"
android:maxLines="2"
android:text="@string/choose_local_folder"
android:textColor="?android:attr/textColorSecondary" />
</RelativeLayout>
<TextView
android:id="@+id/local_folder_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/local_folder_title"
android:layout_alignStart="@id/local_folder_title"
android:ellipsize="middle"
android:maxLines="2"
android:text="@string/choose_local_folder"
android:textColor="?android:attr/textColorSecondary" />
</RelativeLayout>
<!-- Preference should place its actual preference widget here. -->
<LinearLayout
android:id="@+id/local_folder_frame"
android:layout_width="@dimen/synced_folders_control_width"
android:layout_height="match_parent"
android:gravity="center"
android:padding="@dimen/standard_padding">
<ImageView
android:id="@+id/local_folder_icon"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:background="@null"
android:contentDescription="@string/folder_icon"
android:padding="@dimen/standard_quarter_padding"
android:src="@drawable/ic_folder_open" />
</LinearLayout>
</LinearLayout>
<LinearLayout
<RelativeLayout
android:id="@+id/remote_folder_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false">
android:layout_weight="1"
android:padding="@dimen/standard_padding">
<RelativeLayout
android:layout_width="0dp"
<TextView
android:id="@+id/remote_folder_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="@dimen/standard_padding">
android:maxLines="2"
android:text="@string/prefs_synced_folders_remote_path_title"
android:textAppearance="?attr/textAppearanceListItem" />
<TextView
android:id="@+id/remote_folder_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="2"
android:text="@string/prefs_synced_folders_remote_path_title"
android:textAppearance="?attr/textAppearanceListItem" />
<TextView
android:id="@+id/remote_folder_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/remote_folder_title"
android:layout_alignStart="@id/remote_folder_title"
android:ellipsize="middle"
android:maxLines="2"
android:text="@string/choose_remote_folder"
android:textColor="?android:attr/textColorSecondary" />
</RelativeLayout>
<!-- Preference should place its actual preference widget here. -->
<LinearLayout
android:id="@+id/remote_folder_frame"
android:layout_width="@dimen/synced_folders_control_width"
android:layout_height="match_parent"
android:gravity="center"
android:padding="@dimen/standard_padding">
<ImageView
android:id="@+id/remote_folder_icon"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:background="@null"
android:contentDescription="@string/folder_icon"
android:padding="@dimen/standard_quarter_padding"
android:src="@drawable/ic_folder_open" />
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/remote_folder_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/remote_folder_title"
android:layout_alignStart="@id/remote_folder_title"
android:ellipsize="middle"
android:maxLines="2"
android:text="@string/choose_remote_folder"
android:textColor="?android:attr/textColorSecondary" />
</RelativeLayout>
<LinearLayout
android:id="@+id/setting_instant_upload_on_wifi_container"