mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Add account: grey color
align text Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
c289e61b39
commit
4d9fc70376
3 changed files with 7 additions and 6 deletions
|
@ -148,7 +148,7 @@ public class UserListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolde
|
||||||
private void setupAddAccountListItem(AddAccountViewHolderItem holder) {
|
private void setupAddAccountListItem(AddAccountViewHolderItem holder) {
|
||||||
View actionView = holder.itemView;
|
View actionView = holder.itemView;
|
||||||
|
|
||||||
holder.usernameViewItem.setTextColor(ThemeUtils.primaryColor(context, true));
|
holder.usernameViewItem.setTextColor(context.getResources().getColor(R.color.fontAppbar));
|
||||||
|
|
||||||
// bind action listener
|
// bind action listener
|
||||||
boolean isProviderOrOwnInstallationVisible = context.getResources()
|
boolean isProviderOrOwnInstallationVisible = context.getResources()
|
||||||
|
|
|
@ -23,16 +23,18 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="@dimen/account_action_layout_height"
|
android:layout_height="@dimen/account_action_layout_height"
|
||||||
|
android:layout_margin="@dimen/standard_quarter_margin"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:weightSum="1"
|
android:weightSum="1"
|
||||||
tools:ignore="UseCompoundDrawables">
|
tools:ignore="UseCompoundDrawables">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/user_icon"
|
android:id="@+id/user_icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="24dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="24dp"
|
||||||
android:layout_gravity="center_vertical"
|
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:src="@drawable/ic_account_plus"
|
||||||
android:contentDescription="@string/prefs_add_account"/>
|
android:contentDescription="@string/prefs_add_account"/>
|
||||||
|
|
||||||
|
@ -43,7 +45,7 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:paddingEnd="@dimen/standard_padding"
|
android:paddingEnd="@dimen/standard_padding"
|
||||||
android:paddingStart="28dp"
|
android:paddingStart="12dp"
|
||||||
android:text="@string/prefs_add_account"
|
android:text="@string/prefs_add_account"
|
||||||
android:textColor="@color/primary"
|
android:textColor="@color/primary"
|
||||||
android:textSize="@dimen/two_line_primary_text_size" />
|
android:textSize="@dimen/two_line_primary_text_size" />
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
<dimen name="standard_list_item_size">72dp</dimen>
|
<dimen name="standard_list_item_size">72dp</dimen>
|
||||||
<dimen name="two_line_primary_text_size">16sp</dimen>
|
<dimen name="two_line_primary_text_size">16sp</dimen>
|
||||||
<dimen name="two_line_secondary_text_size">12sp</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="list_item_share_right_margin">12dp</dimen>
|
||||||
<dimen name="file_list_item_avatar_icon_radius">10dp</dimen>
|
<dimen name="file_list_item_avatar_icon_radius">10dp</dimen>
|
||||||
<dimen name="account_action_layout_height">72dp</dimen>
|
<dimen name="account_action_layout_height">72dp</dimen>
|
||||||
|
|
Loading…
Reference in a new issue