diff --git a/app/src/main/java/org/mian/gitnex/activities/MainActivity.java b/app/src/main/java/org/mian/gitnex/activities/MainActivity.java index 764161ba..61cff226 100644 --- a/app/src/main/java/org/mian/gitnex/activities/MainActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/MainActivity.java @@ -5,6 +5,7 @@ import android.content.Context; import android.content.Intent; import android.graphics.Typeface; import android.os.Bundle; +import android.text.Html; import android.util.Log; import android.view.Menu; import android.view.MenuItem; @@ -268,7 +269,7 @@ public class MainActivity extends BaseActivity implements NavigationView.OnNavig if(!userFullNameNav.equals("")) { - userFullName.setText(userFullNameNav); + userFullName.setText(Html.fromHtml(userFullNameNav)); } if(!userAvatarNav.equals("")) { diff --git a/app/src/main/java/org/mian/gitnex/activities/OrganizationDetailActivity.java b/app/src/main/java/org/mian/gitnex/activities/OrganizationDetailActivity.java index 8b69b5f6..63200b4e 100644 --- a/app/src/main/java/org/mian/gitnex/activities/OrganizationDetailActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/OrganizationDetailActivity.java @@ -212,7 +212,7 @@ public class OrganizationDetailActivity extends BaseActivity implements BottomSh @Override public int getCount() { - return 4; + return 5; } } } diff --git a/app/src/main/java/org/mian/gitnex/adapters/AdminGetUsersAdapter.java b/app/src/main/java/org/mian/gitnex/adapters/AdminGetUsersAdapter.java index 1237c9ad..c065f021 100644 --- a/app/src/main/java/org/mian/gitnex/adapters/AdminGetUsersAdapter.java +++ b/app/src/main/java/org/mian/gitnex/adapters/AdminGetUsersAdapter.java @@ -1,6 +1,7 @@ package org.mian.gitnex.adapters; import android.content.Context; +import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -68,18 +69,22 @@ public class AdminGetUsersAdapter extends RecyclerView.Adapter originalFiles = new ArrayList<>(); private final List alteredFiles = new ArrayList<>(); - private Context mCtx; + private final Context mCtx; private final FilesAdapterListener filesListener; @@ -37,21 +38,18 @@ public class FilesAdapter extends RecyclerView.Adapter - + android:background="?attr/primaryBackgroundColor" + android:gravity="center_vertical" + android:orientation="horizontal"> - - - - - - - - - - - + + android:orientation="vertical"> - + android:orientation="horizontal"> + + + + + + - +