Android Pop-up Tab Activity for the element of listview
-
08-02-2021 - |
質問
I am developing one android application, having the listview activity. I displayed the activity. I want to place one pop-up tab activity having two tabs for the list view element. when the user clicks on the corresponding element, the pop-up tab should display and tab activity should be performed. Please help me with the corresponding sample code. Thanks in advance.
解決
If i m getting right your question ,you want to open a TabActivity onItemClick ,which should look like a pop-up, I would like to suggest you to open a normal TabActivity when the user clicks on the corresponding element ..just put this in your manifest file :
<activity android:name=".YourTabActivityExample" ***android:theme="@android:style/Theme.Dialog***">
Theme.Dialog will make it to look like a pop-up...
所属していません StackOverflow