mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 05:43:55 +01:00
Remove button texts of list items
This commit is contained in:
parent
dea92307b6
commit
42bab3d6c6
3 changed files with 16 additions and 3 deletions
|
|
@ -403,7 +403,6 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp
|
|||
fragment.setArguments(bundle);
|
||||
fragmentTransaction.replace(R.id.container_sheet, fragment);
|
||||
bottomSheetBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
|
||||
//TODO replace this sheet for details map
|
||||
fragmentTransaction.commitAllowingStateLoss();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import android.view.LayoutInflater;
|
|||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewTreeObserver;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.AnimationUtils;
|
||||
import android.widget.ImageView;
|
||||
|
|
@ -38,6 +39,10 @@ class PlaceRenderer extends Renderer<Place> {
|
|||
@BindView(R.id.galeryButton) LinearLayout galeryButton;
|
||||
@BindView(R.id.directionsButton) LinearLayout directionsButton;
|
||||
@BindView(R.id.iconOverflow) LinearLayout iconOverflow;
|
||||
@BindView(R.id.cameraButtonText) TextView cameraButtonText;
|
||||
@BindView(R.id.galeryButtonText) TextView galeryButtonText;
|
||||
@BindView(R.id.directionsButtonText) TextView directionsButtonText;
|
||||
@BindView(R.id.iconOverflowText) TextView iconOverflowText;
|
||||
|
||||
private View view;
|
||||
private static ArrayList<LinearLayout> openedItems;
|
||||
|
|
@ -88,6 +93,7 @@ class PlaceRenderer extends Renderer<Place> {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
private void closeLayout(LinearLayout buttonLayout){
|
||||
|
|
@ -128,7 +134,6 @@ class PlaceRenderer extends Renderer<Place> {
|
|||
|
||||
iconOverflow.setVisibility(showMenu() ? View.VISIBLE : View.GONE);
|
||||
iconOverflow.setOnClickListener(v -> popupMenuListener());
|
||||
|
||||
}
|
||||
|
||||
private void popupMenuListener() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue