So I have an android project in which I am using realm. The issue being that my design has a lot of columns listed in one particular table. Sadly I can't seem to see all of them and I can't resize it is there a horizontal scroll I can use I'm not sure how to handle this?
There's no horizontal bar, but you can use these two options to help read the db data (if you don't have an extra screen):
Zoom out using Cmd+-
You can perform SQL queries to select a subset of columns by clicking on the database icon and writing the query on the right panel.
Related
since the android screen is small to show a table with 10+ columns so, I was wondering what is the best approach to show this kind of table according to material design guidlines
The data from website that should be shown in android looks like this:
I'm not sure if it's something I'm doing or not, but the scenario is this....
When I create multiple layout-* (i.e. layout, layout-ldpi, layout-xhpdi, etc) folders and place the AXML files in each of the folders.... double click to open them in the designer... it DOES change the "device" selection for the display correctly, BUT the actual visual display DOESN'T change.... making it VERY difficult to see how multiple screens are going to handle the layout files (i.e, no matter the selection I make on the layout nodes on the left).
I know in older Xamarin Studio versions it did update the layouts where I could make the necessary changes, but not any more.
Im not sure if it's some setting, or something I'm missing, but I need it to work. :)
If anyone can lead me in the correct direction to fix this it would be awesome!
I have a problem. in my situation I have tables with 10+ columns, I really need to have a horizontal scroll for it and also making more width for each column. And fix the first column like excel. is there anyway to do that?
Please let me know any simple and smooth library in android for the same.
There is a TableView Library for Android. It's also open source and located in github.
There is a sample app that show how you can use tableView on your application.
I'm building an App for Android that already exists for iOS. On iOS, we really like to use the listview grouped style to show details and forms. It is really useful to show details of objects that we don't know how much properties they have before loading it.
I know that Android doesn't have a similar tableview style. And I don't want to use a custom library to recreate it, because I don't want to force an iOS like interface to my Android's users.
But how would you create a consistent Android interface that show similar information? Do you have example for me?
First of all, your instinct to not force iOS style UI onto Android users is correct and I respect you for it.
Android's ListView is roughly the equivalent of iOS's UITableView. There are important differences. For instance, you should never use a ListView inside another scrollable container. If a ListView is in a particular layout, it should (usually) be the only scrollable component. If you want multiple ListViews in a layout, you probably don't want ListViews at all. You should instead use (vertical) LinearLayouts and add the items in order.
Cyril Mottier writes excellent posts on implementing custom behavior for Android's ListView.
If you want to display data in a list then you can use the ListView. Here is a great article about how to use it.
As a goal for my first Android application to learn the Android SDK, I am trying to create a simple RSS viewer for a specific url. Disregarding the networking side of the goal, I am having trouble with getting a listView to display a custom layout.
What I'd like to do is have each row of a list view show one of two images(read or unread), followed by some text. I'm not really having a problem, it's more that there aren't any examples that I could find (I might be looking in the wrong place) that covered custom layouts depending on conditions in code.
Any help?
Here is a free excerpt from one of my books that discusses the techniques involved. In a nutshell, you will need to extend your Adapter class (e.g., ArrayAdapter, CursorAdapter) and take direct control over the creation of rows, so you can apply your desired business logic.