improved quoted status on fanfou

fixed #527
This commit is contained in:
Mariotaku Lee 2016-04-18 16:41:46 +08:00
parent 0e2fee3ee6
commit 89390a5d54
3 changed files with 6 additions and 3 deletions

View File

@ -79,6 +79,7 @@ public class UserListSelectorActivity extends BaseActivity implements OnClickLis
private Runnable mResumeFragmentRunnable;
private boolean mFragmentsResumed;
private View mScreenNameConfirm, mCreateList;
@Override
public void onClick(final View v) {
@ -109,6 +110,8 @@ public class UserListSelectorActivity extends BaseActivity implements OnClickLis
mUserListsListView = (ListView) findViewById(R.id.user_lists_list);
mUsersListView = (ListView) findViewById(R.id.users_list);
mCreateUserListContainer = findViewById(R.id.create_list_container);
mScreenNameConfirm = findViewById(R.id.screen_name_confirm);
mCreateList = findViewById(R.id.create_list);
}
@Override
@ -173,6 +176,8 @@ public class UserListSelectorActivity extends BaseActivity implements OnClickLis
mUsersListView.setAdapter(mUsersAdapter = new SimpleParcelableUsersAdapter(this));
mUserListsListView.setOnItemClickListener(this);
mUsersListView.setOnItemClickListener(this);
mScreenNameConfirm.setOnClickListener(this);
mCreateList.setOnClickListener(this);
if (selecting_user) {
mUsersListContainer.setVisibility(View.VISIBLE);
mUserListsContainer.setVisibility(View.GONE);

View File

@ -999,7 +999,7 @@ public class StatusFragment extends BaseSupportFragment implements LoaderCallbac
final int layoutPosition = getLayoutPosition();
final boolean skipLinksInText = status.extras != null && status.extras.support_entities;
if (status.is_quote && ArrayUtils.isEmpty(status.media)) {
if (status.is_quote) {
quoteOriginalLink.setVisibility(View.VISIBLE);
quotedNameView.setVisibility(View.VISIBLE);

View File

@ -54,7 +54,6 @@
android:layout_width="match_parent"
android:layout_height="@dimen/button_bar_height"
android:gravity="center"
android:onClick="onClick"
android:text="@string/new_user_list"/>
</LinearLayout>
</LinearLayout>
@ -102,7 +101,6 @@
android:background="?selectableItemBackground"
android:color="?menuIconColor"
android:contentDescription="@string/search"
android:onClick="onClick"
android:src="@drawable/ic_action_search"
tools:tint="?menuIconColor"/>
</LinearLayout>