I am trying to modify HelloNotification sample code given in SonyEyeGlass SDK samples. As described in https://developer.sony.com/develop/wearables/smarteyeglass-sdk/guides/notifications/
we can add a menu to be shown in the notification view when the user drills down into the notification details(Action menu with 3 Action Toasts as shown in that link and example).
But in SmartEyeglass screen I want to add some description above this menu, as that area is empty. Is there any API that I can use for showing any text description in that empty area? (probably using Notification.SourceColumns) ?
Please help.
Thanks,
Manish
Unfortunately there is no way to draw above the menu. If you really need to draw on that area you would have to build a Control extension and use your own menu control on the bottom.
Related
i have been searching for control like tree view that also support control in it. But i have not found any usefull thing except link,
https://code.google.com/p/tree-view-list-android/
how can i do my required things as i mentioned in also viewable in pic attached
when i click it open like tree view i can have control like tab or button as shown in pic but would have also control inside that open when we click
Or i will have to do it on design mode ? any example will be appreciable
Hope sfor your suggestion thanks in advance
I need to create a List view. However this list view is somewhat of a pull down menu. That is, I have to create a button on top of screen, where on clicking it, a list view will be displayed (pulled down) from top.
Can some one give me an idea about this? I mean, what is this component in Android and how do I go about it creating it?
I know the normal way of creating a list view but not this.
Hey thanks all for your replies i finally got want i wanted to implement.The following link helped me achieve it:
http://techdroid.kbeanie.com/2009/08/android-sliding-drawer-example.html
Typically you would use a Single Choice Dialog.
http://developer.android.com/guide/topics/ui/dialogs.html#AddingAList
If you want to do it Pull-down-from-top. You'll need to use Panel Custom view from this project.
If a pull-from-below will suffice, use a Sliding Drawer. (From Android 3.0, Sliding Drawer can be configured to be pulled down aswell. See Here)
Have the Listview inside the Drawer/Panel.
I am pretty new to android. I am trying create an app that customizes the expanded view of the notification panel . For start , I would like to add one button at the top of the notifications panel that will delete the message.I have checked the reference from http://developer.android.com/guide/topics/ui/notifiers/notifications.html , however , this is not helping much as it is the view of the each notification . That is not what I want , I want to add the button at the top of the panel for any notification. Could you please direct me what should or how should I go about doing that. Any idea , reference would be highly appreciated
I am trying create an app that customizes the expanded view of the notification panel...I want to add the button at the top of the panel for any notification.
You are welcome to create your own custom firmware for this. It is not possible via an Android SDK application.
i want to create screen in android like the image below(click on the hyperlink) but i am not getting the idea that how to create this screen just provide me solution for my problem.click to see image
I agree with sahhhm on the ListView. In addition, to display the cinema info you will need a custom list-item view which is going to contain an image view to display the left-hand image, four different text views to display the text and another image view for the right-hand image. You'll also have to accommodate the location in a view and the control bar at the top is possibly a custom control displayed in an activity which has the attribute android:theme="#android:style/Theme.NoTitleBar" in the android manifest file so that the title bar is not shown.
You will want to take a look at ListView. Here are a couple of basic tutorials (Android Developer Tutorial and Android People Tutorial) that will help get you started. Afterwards, you should be able to search for and find more specific examples of what you want.
For Android GUI: I would like to create a window that I can pull up from the bottom of another window, kind of like the Notification bar or the tab in the bottom on Spotify for Android.
I want to be able to grab a small piece of the window and pull it up. Or just click it and it will "pop up". And afterwards be able to pull or click it so it returs to its original space.
Does anyone know a good way to do this?
Use SlidingDrawer