mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
tried to add clear button for upload groups. would be too much.
This commit is contained in:
parent
6dae38caa7
commit
a8e2cf6eae
1 changed files with 30 additions and 53 deletions
|
@ -1,57 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:orientation="horizontal"
|
||||
android:layout_height="40dp">
|
||||
|
||||
<!--
|
||||
<FrameLayout
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="40dp"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/uploadListGroupIcon"
|
||||
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" />
|
||||
</FrameLayout> -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical" >
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="3dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/uploadListGroupName"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:layout_toLeftOf="@+id/upload_group_right_button"
|
||||
android:divider="@null"
|
||||
android:dividerHeight="0dp"
|
||||
android:ellipsize="middle"
|
||||
android:showDividers="none"
|
||||
/>
|
||||
<!--
|
||||
<TextView
|
||||
android:id="@+id/uploadListGroupName"
|
||||
android:layout_width="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:textColor="#303030"
|
||||
android:textSize="16dip" />
|
||||
-->
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<!-- This would be just too many buttons.
|
||||
<Button
|
||||
android:id="@+id/upload_group_right_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_alignBottom="@+id/uploadListGroupName"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
style="?android:attr/buttonStyleSmall"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
android:text="CLEAR"
|
||||
/>
|
||||
-->
|
||||
|
||||
|
||||
</RelativeLayout>
|
Loading…
Reference in a new issue