mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Fixed. Line behind the folder is not shown in the upload view
This commit is contained in:
parent
81a8604f7f
commit
0470de47e0
2 changed files with 117 additions and 105 deletions
|
@ -19,130 +19,141 @@
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/ListItemLayout"
|
android:id="@+id/ListItemLayout"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:background="@drawable/list_selector"
|
android:background="@drawable/list_selector"
|
||||||
android:orientation="horizontal"
|
android:orientation="vertical"
|
||||||
android:layout_height="56dp">
|
android:layout_height="56dp">
|
||||||
|
|
||||||
<FrameLayout
|
|
||||||
android:layout_width="56dp"
|
|
||||||
android:layout_height="56dp"
|
|
||||||
android:focusable="false"
|
|
||||||
android:focusableInTouchMode="false">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/localFileIndicator"
|
|
||||||
android:layout_width="@dimen/file_icon_size"
|
|
||||||
android:layout_height="@dimen/file_icon_size"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:layout_marginLeft="22dp"
|
|
||||||
android:src="@drawable/local_file_indicator" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/thumbnail"
|
|
||||||
android:layout_width="@dimen/file_icon_size"
|
|
||||||
android:layout_height="@dimen/file_icon_size"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:layout_marginLeft="9dp"
|
|
||||||
android:src="@drawable/ic_menu_archive" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/favoriteIcon"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="bottom|right"
|
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:layout_marginRight="2dp"
|
|
||||||
android:src="@drawable/ic_favorite" />
|
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:orientation="horizontal">
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:orientation="vertical" >
|
|
||||||
|
|
||||||
<TextView
|
<FrameLayout
|
||||||
android:id="@+id/Filename"
|
android:layout_width="56dp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_height="56dp"
|
||||||
android:layout_height="wrap_content"
|
android:focusable="false"
|
||||||
android:layout_gravity="center_vertical"
|
android:focusableInTouchMode="false">
|
||||||
android:layout_marginLeft="4dp"
|
|
||||||
android:layout_marginRight="4dp"
|
<ImageView
|
||||||
android:ellipsize="middle"
|
android:id="@+id/localFileIndicator"
|
||||||
android:singleLine="true"
|
android:layout_width="@dimen/file_icon_size"
|
||||||
android:text="TextView"
|
android:layout_height="@dimen/file_icon_size"
|
||||||
android:textColor="#303030"
|
android:layout_gravity="center_vertical"
|
||||||
android:textSize="16dip" />
|
android:layout_marginLeft="22dp"
|
||||||
|
android:src="@drawable/local_file_indicator" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/thumbnail"
|
||||||
|
android:layout_width="@dimen/file_icon_size"
|
||||||
|
android:layout_height="@dimen/file_icon_size"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:layout_marginLeft="9dp"
|
||||||
|
android:src="@drawable/ic_menu_archive" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/favoriteIcon"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="bottom|right"
|
||||||
|
android:layout_marginBottom="10dp"
|
||||||
|
android:layout_marginRight="2dp"
|
||||||
|
android:src="@drawable/ic_favorite" />
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginLeft="4dp"
|
android:layout_weight="1"
|
||||||
android:layout_marginRight="4dp"
|
android:gravity="center_vertical"
|
||||||
android:weightSum="1">
|
android:orientation="vertical" >
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/last_mod"
|
android:id="@+id/Filename"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:layout_marginLeft="4dp"
|
||||||
|
android:layout_marginRight="4dp"
|
||||||
|
android:ellipsize="middle"
|
||||||
|
android:singleLine="true"
|
||||||
android:text="TextView"
|
android:text="TextView"
|
||||||
android:layout_weight=".5"
|
android:textColor="#303030"
|
||||||
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
android:textSize="16dip" />
|
||||||
android:textSize="12dip"/>
|
|
||||||
|
|
||||||
<TextView
|
<LinearLayout
|
||||||
android:id="@+id/file_size"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="right"
|
android:layout_marginLeft="4dp"
|
||||||
android:text="TextView"
|
android:layout_marginRight="4dp"
|
||||||
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
android:weightSum="1">
|
||||||
android:layout_weight=".5"
|
|
||||||
android:textSize="12dip"/>
|
<TextView
|
||||||
|
android:id="@+id/last_mod"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="TextView"
|
||||||
|
android:layout_weight=".5"
|
||||||
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
||||||
|
android:textSize="12dip"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/file_size"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="right"
|
||||||
|
android:text="TextView"
|
||||||
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
||||||
|
android:layout_weight=".5"
|
||||||
|
android:textSize="12dip"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="25dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/sharedIcon"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginLeft="4dp"
|
||||||
|
android:layout_marginBottom="4dp"
|
||||||
|
android:layout_marginRight="4dp"
|
||||||
|
android:src="@drawable/sharedlink" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/sharedWithMeIcon"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginLeft="4dp"
|
||||||
|
android:layout_marginRight="4dp"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
|
android:src="@drawable/shared_with_me"
|
||||||
|
android:visibility="invisible" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/custom_checkbox"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:layout_marginLeft="4dp"
|
||||||
|
android:layout_marginRight="4dp"
|
||||||
|
android:gravity=""
|
||||||
|
android:src="@android:drawable/checkbox_off_background" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<View
|
||||||
android:layout_width="25dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="1dp"
|
||||||
android:gravity="center_vertical"
|
android:background="@color/list_divider_background"></View>
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/sharedIcon"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_marginLeft="4dp"
|
|
||||||
android:layout_marginBottom="4dp"
|
|
||||||
android:layout_marginRight="4dp"
|
|
||||||
android:src="@drawable/sharedlink" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/sharedWithMeIcon"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_marginLeft="4dp"
|
|
||||||
android:layout_marginRight="4dp"
|
|
||||||
android:layout_marginTop="4dp"
|
|
||||||
android:src="@drawable/shared_with_me"
|
|
||||||
android:visibility="invisible" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/custom_checkbox"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:layout_marginLeft="4dp"
|
|
||||||
android:layout_marginRight="4dp"
|
|
||||||
android:gravity=""
|
|
||||||
android:src="@android:drawable/checkbox_off_background" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -23,5 +23,6 @@
|
||||||
<color name="owncloud_blue_bright">#00ddff</color>
|
<color name="owncloud_blue_bright">#00ddff</color>
|
||||||
<color name="list_item_lastmod_and_filesize_text">#989898</color>
|
<color name="list_item_lastmod_and_filesize_text">#989898</color>
|
||||||
<color name="textColor">#303030</color>
|
<color name="textColor">#303030</color>
|
||||||
|
<color name="list_divider_background">#fff0f0f0</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in a new issue