Merge "Fix the incorrect title of Panel" into rvc-dev am: 1f91111c3a
Change-Id: Ife2fade68a4cc565111adb773986c45707840a6e
This commit is contained in:
@@ -207,6 +207,8 @@ public class PanelFragment extends Fragment {
|
||||
|
||||
final IconCompat icon = mPanel.getIcon();
|
||||
if (icon == null) {
|
||||
mTitleView.setVisibility(View.VISIBLE);
|
||||
mPanelHeader.setVisibility(View.GONE);
|
||||
mTitleView.setText(mPanel.getTitle());
|
||||
} else {
|
||||
mTitleView.setVisibility(View.GONE);
|
||||
@@ -226,6 +228,7 @@ public class PanelFragment extends Fragment {
|
||||
if (TextUtils.isEmpty(customTitle)) {
|
||||
mSeeMoreButton.setVisibility(View.GONE);
|
||||
} else {
|
||||
mSeeMoreButton.setVisibility(View.VISIBLE);
|
||||
mSeeMoreButton.setText(customTitle);
|
||||
}
|
||||
} else if (mPanel.getSeeMoreIntent() == null) {
|
||||
|
||||
Reference in New Issue
Block a user