Change Photo
Ellis Pollich

Questions by Ellis Pollich

android toolbar: how to have a toolbar with image in the background and menu items on top?

Using material design how to create a toolbar with background image. the following is what i want: I am trying t...

Loopback ACL : DB access restrictions based on related model?

Consider the below image. A teacher or students sholud access their class documents and chats only Is this restric...

Sprite Sheet animation with arrow keys?

I can't seem to figure out how to make the animations work when moving the character, when I press a key down, the a...

IOS Swift - Custom camera overlay?

hello I would like to open a camera in my app like this I want to open a camera only in the middle of the sectio...

Is Cassandra for OLAP or OLTP or both??

Cassandra does not comply with ACID like RDBMS but CAP. So Cassandra picks AP out of CAP and leaves it to the user f...

How can change width of dropdown list??

I have a listbox and I want to decrease its width. Here is my code: <select name="wgtmsr" id="wgtmsr" style="wi...

How can I find out which button was clicked??

I've got my buttons working right, and I'm a listener to each button like this: for(int i = 0; i <= 25; ++i) { ...

How to pull a specific branch from Github?

There is this repo : https://github.com/googlesamples/android-architecture And there is this branch : https://git...

AttributeError: module 'matplotlib' has no attribute 'plot'?

I am using python 3.6 and a learner. Below is a simple code of a sin wave. import matplotlib.pyplot as plt import...

Remove all special characters with RegExp?

I would like a RegExp that will remove all special characters from a string. I am trying something like this but it ...

How to set MouseOver event/trigger for border in XAML??

I want the border to turn green when the mouse is over it and then to return to blue when the mouse is no longer ove...

Map values to ArrayList?

I have a Map<Integer, MyClass> and MyClass has 2 fields, Object1 obj and Object2 objj for example. How can I ...

How to write C++ on Mac??

Taking my first C++ class in college. I need to download C++ and my teacher gave us a direct link to download it, bu...