Browse Source

Remove unnecessary LinearLayout

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
ZetaTom 5 months ago
parent
commit
10a96816d4
1 changed files with 1 additions and 11 deletions
  1. 1 11
      app/src/main/res/layout/internal_two_way_sync_view_holder.xml

+ 1 - 11
app/src/main/res/layout/internal_two_way_sync_view_holder.xml

@@ -29,27 +29,17 @@
         android:gravity="center_vertical|start"
         android:orientation="vertical">
 
-
-        <LinearLayout
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:orientation="horizontal"
-            tools:ignore="UseCompoundDrawables">
-
         <TextView
             android:id="@+id/name"
-            android:layout_width="0dp"
+            android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:ellipsize="middle"
-            android:layout_weight="1"
             android:gravity="center_vertical"
             android:singleLine="true"
             android:textColor="@color/text_color"
             android:textSize="@dimen/two_line_primary_text_size"
             tools:text="Folder abc" />
 
-        </LinearLayout>
-
         <LinearLayout
             android:layout_width="match_parent"
             android:layout_height="wrap_content">