Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,

Reply:
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Reply:
Your ideas no problem ah, popupwindow inside their own layout, two controls were made to different background images
Reply:
Yeah Yeah
Reply:
Popupwindow like this is how to get the current position of the listview. Red box is a button click here only pop popupwindow!
Because instead of clicking listview. Do not know how to get the current position
Reply:
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
Reply:
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
To get this view on the adapter, and then realize popupwindow displayed in this view of the following
Reply:
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
To get this view on the adapter, and then realize popupwindow displayed below the view of
The only difference is displayed popupwindow write code inside the adapter or the internal pass parameters to get out of view
Reply:
Reply:
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
To get this view on the adapter, and then realize popupwindow displayed below the view of
The only difference is displayed popupwindow write code inside the adapter or the internal pass parameters to obtain the view out
Thank you. Haha. Think of it
Reply:
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
To get this view on the adapter, and then realize popupwindow displayed below the view of
The only difference is displayed popupwindow write code inside the adapter or the internal pass parameters to obtain the view out
Thank you. Haha. Think of it
My points

Reply:
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
To get this view on the adapter, and then realize popupwindow displayed below the view of
The only difference is displayed popupwindow write code inside the adapter or the internal pass parameters to obtain the view out
Thank you. Haha. Think of it
My points![]()
Give the points. You are so good! Also encountered a problem. . Is
I getview in initPopupWindow, but convertView wrong. . At the prompt to remove final, following the prompts to add final

Reply:
You build a View object outside reception inside look convertview
Reply:
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
To get this view on the adapter, and then realize popupwindow displayed below the view of
The only difference is displayed popupwindow write code inside the adapter or the internal pass parameters to obtain the view out
Thank you. Haha. Think of it
My points![]()
Give the points. You are so good! Also encountered a problem. . Is
I getview in initPopupWindow, but convertView wrong. . At the prompt to remove final, following the prompts to add final![]()
You build a View object outside reception inside look convertview
Reply:
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
To get this view on the adapter, and then realize popupwindow displayed below the view of
The only difference is displayed popupwindow write code inside the adapter or the internal pass parameters to obtain the view out
Thank you. Haha. Think of it
My points![]()
Give the points. You are so good! Also encountered a problem. . Is
I getview in initPopupWindow, but convertView wrong. . At the prompt to remove final, following the prompts to add final![]()
And you do not deal with popupwindow.dismiss in ontouch inside ()
Reply:
In ontouch inside
Doing a similar kind of mobile qq popupWindow, had some trouble, how can the text background fill to half,![]()
![]()
android: layout_width = "100dip"
android: layout_height = "50dip"
android: orientation = "horizontal"
>
android: id = "@ + id / btn"
android: text = "View"
android: layout_weight = "1.0"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "write your own" />
android: id = "@ + id/btn1"
android: text = "Delete"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_weight = "1.0"
android: background = "write your own"
/>
Thank you, thank you, also ask a question, the figure is how to get the current position of the listview. .
To get this view on the adapter, and then realize popupwindow displayed below the view of
The only difference is displayed popupwindow write code inside the adapter or the internal pass parameters to obtain the view out
Thank you. Haha. Think of it
My points![]()
Give the points. You are so good! Also encountered a problem. . Is
I getview in initPopupWindow, but convertView wrong. . At the prompt to remove final, following the prompts to add final![]()
And you do not deal with popupwindow.dismiss ()
This approach, where the bad!
Reply:
you build a View object outside the reception about convertview inside
For example. .
private View convertview;
That how to receive in getView. Lane. . getView still be the first to use their own view ..
Reply:
You build a View object inside look at the outside receiver convertview
For example. .private View convertview;
That how to receive in getView. Lane. . getView still be the first to use their own view ..
In ontouch method inside
Reply:
You build a View object inside look at the outside receiver convertview
For example. .private View convertview;
That how to receive in getView. Lane. . getView still be the first to use their own view ..
In ontouch method inside
Why not recommend ontouch inside handle popupwindow.dismiss ()
Reply:
Not to the point, really enough to be in
Reply:
not give points, you can really enough
behind
not solve the problemReply:
< / fieldset>
Not to the point, really enough to be a
behindnot solve that problem
What ah? The demo to me, I'll give you tune?
No comments:
Post a Comment