Connect elements on android view [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 months ago.
Improve this question
I want to develop an android app and my app must show a matrix of elements where some are connected by a line (like paths). I'm programmer but I don't have a clear idea on how to do this (the graphical part) because still I'm starting in android development, but if you have an idea please to resolve this graphical problem, give me some help then I would research more about it.
Note: I want to create an app for my college, where an student could mark their passed courses, and there are courses that must be marked (passed) to mark others and know their progress on the career.
Like this image..

Use Grid View because GridView is a ViewGroup that displays items in a two-dimensional, scrollable grid. The grid items are automatically inserted to the layout using a ListAdapter. to Achieve your goal you must use custom grid view to make that but am not sure about the lines.
check out this tutorials it would help to make that .
Example 1:
Example 2
Example 3:

Related

Is it possible that many layout in one layout in android? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I want to design that layout , like my photo , there are three buttons , can let me show different function in screen , I don't know how use fragment to
achieve my goals?
Does anyone any suggestion can help me ?
Thanks.
Edit : I have already solved.
Activities consist of different layouts.Only one layout can run in one activity.But Fragments can be used in this respect.You need to add frame layout at the places where you need different layout.Fragments have similar life cycle as compare to that of the activities.You will need to create fragments and add it in the activity through its java file.
Hope this helps you.Reply back for more details.

What is a best approach to implemet Youtube/Facebook kind of tag functionality in android application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
In my application i have requirement to implement tag functionality, like we tag particular user in stackoverflow/facebook.
For Example if i press #a... on that time i will get list of suggested items for that character from server,and i will show a list of items , selecting any item from list i need to display that on edit text, with some highlighted portion and cross shape on the button.
For example while asking questions on stack overflow site, if i write ruby-on-rails and select ruby-on-rails from the suggested tag than it will shown as below
And when i press back press or cross button of that tagged button, entire text should be disappear,
I need to implement same functionality in my application, the only difference is that i will write anchor tag like #ruby-on-rails than will get suggestions of keyword from server.
Any guide or suggestion is appriciated
Thanks,
Aamir
Try this https://github.com/ApmeM/android-flowlayout Using this FlowLayout you can create token views like you want.
Have a look on this SO answer by Romain Guy https://stackoverflow.com/a/4474533/3020568
You can check this links also
https://github.com/splitwise/TokenAutoComplete
http://www.kpbird.com/2013/02/android-chips-edittext-token-edittext.html

Swipe in a listview [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a listview. And I need to make something very easy to acces on the listview. So I want to make something like the Samsung contact list.
Can somebody help me where I need to start? (Maybe a code example or some explanation where to start?)
It is just that I want to make a listview with this kind of swipe mechanic. I don't want to remove a row or add a row. I just want a event behind it to do stuff when swiped. And the animation would be cool if it was something like that.
Follow the libraries on github
listview animations
swipe to dismiss
Roman nurik's Android-SwipeToDismiss
This 'SwipeToDismissUndoList' code might help you.

How to create chat application in android? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have to create a chat module in my android app. I created the layout for that and used a 9 patch image for displaying messages. Now I want to know how the messages are displayed in the left and right areas of the screen.
This is my screen
https://github.com/redsolution/xabber-android
This is XMPP based chat application source code.
this is a very nice opensource chat Application. have a look at this code.You will surely get an idea.
Create a custom Listview and display your messages on right and other messages on left vice versa...for this you need to create custom XML and give left align and right align for the views(Messages).
For this inside your Adapter class in data structure you passed to adapter maintain the variable for message whether its own message(Right side) or others mesage (Left side) and now inside your getview() method you can set the gravity of that window or textview LEFT or RIGHT
Use textview.setLayoutGravity left/right
HOpe this helps

How can I get multiple onclick event on a single backgound image? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
hello Hello everyone i ,I have a problemwith finding , I wish to find a solution...
I have developed a background image so it fits in all types of phone or and tablet types.
my image looks like a multiple joint button
now i I want multiple onclick events on that button(that is a part of image) look on that image
can anybody help me??
thanks in advance.....
in this image i want click events on about/stats/offers/help and also in middle tag
put buttons layouts or whatever you wish on the image set that as invisible(visibility.invisible) put on click for the invisible obj
Used multiple layouts in one screen and used the contents from
http://developer.android.com/reference/android/widget/Button.html

Categories

Resources