Merge pull request #10219 from osmandapp/hide_add_photo_btn
OPR hide add photo button
This commit is contained in:
commit
cb8d8dae3c
1 changed files with 2 additions and 0 deletions
|
@ -336,6 +336,8 @@ public class MenuBuilder {
|
||||||
b.setTypeface(null, Typeface.BOLD);
|
b.setTypeface(null, Typeface.BOLD);
|
||||||
b.setText(context.getResources().getString(R.string.shared_string_add_photo));
|
b.setText(context.getResources().getString(R.string.shared_string_add_photo));
|
||||||
b.setBackgroundResource(R.drawable.btn_border_light);
|
b.setBackgroundResource(R.drawable.btn_border_light);
|
||||||
|
//TODO This feature is under development
|
||||||
|
b.setVisibility(View.GONE);
|
||||||
b.setTextColor(ContextCompat.getColor(context, R.color.preference_category_title));
|
b.setTextColor(ContextCompat.getColor(context, R.color.preference_category_title));
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue