[android-developers] Android5.0 TextView gravity center not working Correctly
LinearLayout android:layout_width=match_parent android:layout_height=wrap_content android:orientation=horizontal TextView android:layout_width=0dp android:layout_height=wrap_content android:layout_weight=1 android:gravity=center android:singleLine=true android:text=Access control android:textSize=20sp / TextView android:layout_width=0dp android:layout_height=wrap_content android:layout_weight=1 android:gravity=center android:singleLine=true android:text=Access control android:textSize=20sp / TextView android:layout_width=0dp android:layout_height=wrap_content android:layout_weight=1 android:gravity=center android:singleLine=true android:text=Access control android:textSize=20sp / TextView android:layout_width=0dp android:layout_height=wrap_content android:layout_weight=1 android:gravity=center android:singleLine=true android:text=Access control android:textSize=20sp / /LinearLayout in android api 21 and android api20, it looks like the attachment. why in android api21 ,the textview gravity not working Correctly. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] android5.0 Textview gravity center not working correctly.
LinearLayout android:layout_width=match_parent android:layout_height=wrap_content android:orientation=horizontal TextView android:layout_width=0dp android:layout_height=wrap_content android:layout_weight=1 android:gravity=center android:singleLine=true android:text=Access control android:textSize=20sp / TextView android:layout_width=0dp android:layout_height=wrap_content android:layout_weight=1 android:gravity=center android:singleLine=true android:text=Access control android:textSize=20sp / TextView android:layout_width=0dp android:layout_height=wrap_content android:layout_weight=1 android:gravity=center android:singleLine=true android:text=Access control android:textSize=20sp / TextView android:layout_width=0dp android:layout_height=wrap_content android:layout_weight=1 android:gravity=center android:singleLine=true android:text=Access control android:textSize=20sp / /LinearLayout in android api 21 and android api20, it looks like the attachment. why in android api21 ,the textview gravity not working Correctly. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Hierarchy Viewer in landscape orientation
What a joke. Doesn't support landscape. Holy sh*t google you really don't put much effort into these things do you...? On Monday, 13 July 2009 19:47:59 UTC-4, Romain Guy wrote: HierarchyViewer does not support landscape properly yet. Patches welcome :) On Mon, Jul 13, 2009 at 4:41 PM, Peter Jeffepje...@gmail.com javascript: wrote: Is there a trick to getting the Hierarchy Viewer to work in landscape orientation, or is it completely broken? In Pixel Perfect View it shows my screen sideways (i.e. in portrait aspect ratio), but when I click on the views in the explorer area it outlines the wrong areas of the screen. It looks like the outlining assumes the display is in landscape orientation, so it outlines where the views would be if it were oriented correctly. Obviously fixing the display would be the best solution, but barring that I'm OK tilting my head if only the outlining would agree with the display. Anyone know a way around this? -- Peter -- Romain Guy Android framework engineer roma...@android.com javascript: Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] WebView and ConnectivityManager.requestNetwork
Hi, I'm trying to update ConnectivityManager.requestRouteToHost implementation from deprecated one to ConnectivityManager.requestNetwork introduced in Lollipop. It supports Sockets, SocketFactories, URLConnections - this is fine. The only thing missing at the moment is WebView support. Application's requirement is to route WebView.loadUrl requests via specific interface, but I can't see how it could be done with the new API (I can't use setProcessDefaultNetwork). I looked at WebView API but couldn't find anything new that would support changed routing API. Is it supported, am I missing something? Thank you, Krystian -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] WebView and ConnectivityManager.requestNetwork
I think the WebView API may need to be made multinetwork aware. On Fri, Dec 12, 2014 at 12:15 PM, Krystian Lewandowski krystian@gmail.com wrote: Hi, I'm trying to update ConnectivityManager.requestRouteToHost implementation from deprecated one to ConnectivityManager.requestNetwork introduced in Lollipop. It supports Sockets, SocketFactories, URLConnections - this is fine. The only thing missing at the moment is WebView support. Application's requirement is to route WebView.loadUrl requests via specific interface, but I can't see how it could be done with the new API (I can't use setProcessDefaultNetwork). I looked at WebView API but couldn't find anything new that would support changed routing API. Is it supported, am I missing something? Thank you, Krystian -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.