XML layout tutorials - android

I am developing an application for a bank for a project.
I want the layout of the application to look like this:
I want to know how to do the views, and the lines separating each view.
If you have a tutorial on how to do this or XML codes or tips, would be appreciated.

Besides the accepted answer. You can also check out Android's Preference Fragment or this example

There are many implementations of this, but https://github.com/emilsjolander/StickyListHeaders is one (you can turn of the sticky headers if you just want the sections). You could also use https://github.com/commonsguy/cwac-merge from our very own #CommonsWare, I believe ;)

Related

trouble with layout android Not Able to generate this View According to icons and line and below text

I am designing following layout structure for one of my application. But dont know how to implement it.
This Design is called Stepper. There are lot of open source library is available for this design. Check the following link. May it will help you.
https://android-arsenal.com/details/1/3049

Android: Display Multi Buttons in A RelativeLayout like FourSquare

I would like to make a tag view like the one below which allows the display of tags with multi-columns (1,2,3 columns depending on the width) and the tag should be clickable for further actions.
I think the traditional gridview is not suitable but i don't know how to do it.
This repo may will help you. Your ss match with this repo's gif.
https://github.com/Cutta/TagView
You need to use Fancy buttons.
Please have a look of this demo.
https://github.com/medyo/fancybuttons
Really helpful.
Thanks.

table alternative in android

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

Android UI design?

To be very honest, I am very new to android development. I really want to learn it.
I'm facing problem in UI design. I want to make something like the picture given below.
Now my question is the that the list of person is dynamic (received from a web service). Now how can I achieve that.
I'm guessing I have to make a XML layout of one and then load it in the layout using code?
i've done something as explained here.. but that is not enough. :(
Please help!
**** EDIT ****
I want this
to be dynamic. I have successfully created the above image strip in a separate XML.
now can it be used in the main layout dynamically like we used to do in case of User Controls in .NET?
You have to work with ListViews. Just watch the Google I/O ListView video for a good introduction. The actual layout of cells will be done in a separate layout XML file.
here is important for you..following link provide how to adjust image along with two item.
refere this
Here is the project file. For simplicity I used a SimpleAdapter. You can create your custom adapter to meet your requirements. Hope you like this ui... :)

Is the Slide-to-Android SlidingTab source or widget available for use?

I'm looking to implement a SlidingTab ie: lock slider or slide-to-answer type thing in my app. I figured it'd a common thing so the source or widget would be available for use but I can't find it anywhere.
Would I have to build a custom one myself?
If you want the same look and feel of the SlidingTab, yes, you have to implement a custom one yourself! Look here for the source code and here for image resources.
If you need something similar you can use SlidingDrawer or customize a SeekBar.
Let me know what you choose! ;)

Categories

Resources