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:
Related
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.
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 have an existing website for which I have to make an Android application. I have something a table with multiple columns(20) on the dashboard of website.
What will be an appropriate option to implement this? The screenshot of the table : https://drive.google.com/file/d/0B6SgMBRKkQ60WHB3bFc4Z2Y2cWM/view?usp=sharing
I had a look at TableLayout, but that might make the app look a little clumsy. Also, I learnt about horizontal ListView. Will that be a better option?
I think you should go with GridLayout.
http://androidexample.com/Grid_Layout_-_Android_Example/index.php?view=article_discription&aid=75&aaid=99
above is reference for GridLayout.
and this is official android blog spot link for GridLayout.
http://android-developers.blogspot.in/2011/11/new-layout-widgets-space-and-gridlayout.html
You can use a custom list view Or a GridView
Good examples to begin are below:
http://androidexample.com/How_To_Create_A_Custom_Listview_-_Android_Example/index.php?view=article_discription&aid=67&aaid=92
http://androidexample.com/Custom_Grid_Layout_-_Android_Example/index.php?view=article_discription&aid=76&aaid=100
I've got problem with my school project.
Basically user create a table on website with records and then by android app can upload own datas to table.
Table might have many rows with different type like integer, date, text. So in my app I need to create layouts dynamicly depends on defined table. I thought that I can convert rows to xml file and then create layouts in android, but it seems to be a difficult one. Can You suggest my how can I create that layouts from downloaded xml ? Or maybe is the other simple way. Help
i am doing a android application that having the table layout and buttons i want to support my app to multiple screens what is the precautions i have to take any help,thanks in advance
Read this:
http://developer.android.com/guide/topics/ui/declaring-layout.html
And this:
http://developer.android.com/guide/practices/screens_support.html