Add account: grey color

align text

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-06-08 09:36:43 +02:00
parent c289e61b39
commit 4d9fc70376
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
3 changed files with 7 additions and 6 deletions

View file

@ -148,7 +148,7 @@ public class UserListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolde
private void setupAddAccountListItem(AddAccountViewHolderItem holder) {
View actionView = holder.itemView;
holder.usernameViewItem.setTextColor(ThemeUtils.primaryColor(context, true));
holder.usernameViewItem.setTextColor(context.getResources().getColor(R.color.fontAppbar));
// bind action listener
boolean isProviderOrOwnInstallationVisible = context.getResources()

View file

@ -23,16 +23,18 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="@dimen/account_action_layout_height"
android:layout_margin="@dimen/standard_quarter_margin"
android:orientation="horizontal"
android:weightSum="1"
tools:ignore="UseCompoundDrawables">
<ImageView
android:id="@+id/user_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/list_item_avatar_icon_margin"
android:layout_marginStart="20dp"
android:layout_marginEnd="8dp"
android:src="@drawable/ic_account_plus"
android:contentDescription="@string/prefs_add_account"/>
@ -43,7 +45,7 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:paddingEnd="@dimen/standard_padding"
android:paddingStart="28dp"
android:paddingStart="12dp"
android:text="@string/prefs_add_account"
android:textColor="@color/primary"
android:textSize="@dimen/two_line_primary_text_size" />

View file

@ -42,7 +42,6 @@
<dimen name="standard_list_item_size">72dp</dimen>
<dimen name="two_line_primary_text_size">16sp</dimen>
<dimen name="two_line_secondary_text_size">12sp</dimen>
<dimen name="list_item_avatar_icon_margin">20dp</dimen>
<dimen name="list_item_share_right_margin">12dp</dimen>
<dimen name="file_list_item_avatar_icon_radius">10dp</dimen>
<dimen name="account_action_layout_height">72dp</dimen>