Skip to content

Commit

Permalink
style: change text color/size and general padding/margin for sync item
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Jul 19, 2024
1 parent ea6088e commit a6954cd
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions app/src/main/res/layout/internal_two_way_sync_view_holder.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<?xml version="1.0" encoding="utf-8"?><!--
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2024 Your Name <[email protected]>
~ SPDX-FileCopyrightText: 2024 Andy Scherzinger <[email protected]>
~ SPDX-FileCopyrightText: 2024 Tobias Kaminsky <[email protected]>
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/min_list_item_size"
android:orientation="horizontal">
android:orientation="horizontal"
android:paddingStart="@dimen/standard_half_padding"
android:paddingEnd="@dimen/standard_half_padding">

<ImageView
android:layout_width="@dimen/file_icon_size"
Expand All @@ -21,16 +24,19 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/min_list_item_size"
android:layout_marginStart="@dimen/standard_margin"
android:layout_marginStart="@dimen/standard_half_margin"
android:gravity="center_vertical"
android:orientation="vertical">

<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="middle"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:textColor="@color/text_color"
android:textSize="@dimen/two_line_primary_text_size"
tools:text="Folder abc" />

<LinearLayout
Expand All @@ -42,6 +48,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textColor="@color/list_item_lastmod_and_filesize_text"
android:textSize="@dimen/two_line_secondary_text_size"
tools:text="241 Mb" />

<TextView
Expand All @@ -59,6 +67,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textColor="@color/list_item_lastmod_and_filesize_text"
android:textSize="@dimen/two_line_secondary_text_size"
tools:text="5 min ago" />

<TextView
Expand All @@ -77,10 +87,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textColor="@color/list_item_lastmod_and_filesize_text"
android:textSize="@dimen/two_line_secondary_text_size"
tools:text="Success" />

</LinearLayout>
</LinearLayout>


</LinearLayout>

0 comments on commit a6954cd

Please sign in to comment.