Re: [android-developers] Windows Phone ContentPresenter equivalent on Android

2014-02-11 Thread Marina Cuello
I'm not sure how a ContentPresenter works, but you can create custom views
on several ways. You could extend any ViewGroup / xxxLayout that suits you
well, create an xml with a merge tag and so on. Just google a bit
around.

Marina


On Mon, Feb 10, 2014 at 12:39 PM, Jia Li jarlym...@gmail.com wrote:

 Is there a control equivalent to ContentPresenter on Windows Phone?

 I want to create a custom styled view/viewgroup, onto which i can add
 children. Then, I can reuse it on all the screens.

 Please help.

 thanks

 --
 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/groups/opt_out.


-- 
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/groups/opt_out.


Re: [android-developers] Move app to background from main (launcher) activity of App

2014-02-11 Thread TreKing
On Tue, Feb 11, 2014 at 12:41 AM, Muhammad Rashid 
muhammad.rash...@gmail.com wrote:

 Actually I am showing lot of data in the listview of main activity and I
 do not want to reload data for listview on exit. So I am willing to send
 app to background.


Well, honestly, that's not really a valid case for this. Keeping your app
running in the background after a user has chosen to leave it is not up to
you, it's up to the OS. Would *you* want an app on your device to remain
running eating up a large amount of memory after you thought you'd left it?
You're just asking for angry users and 1-star complaints.

Regardless, there's really no way to do this - the OS will kill your app
eventually whether you want it or not to reclaim memory, and if your app is
in the background eating a lot of memory, it probably becomes an even
bigger target for being killed anyway.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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/groups/opt_out.


Re: [android-developers] Move app to background from main (launcher) activity of App

2014-02-11 Thread Muhammad Rashid
I agreed. Thanks a lot.


On Tue, Feb 11, 2014 at 10:08 PM, TreKing treking...@gmail.com wrote:


 On Tue, Feb 11, 2014 at 12:41 AM, Muhammad Rashid 
 muhammad.rash...@gmail.com wrote:

 Actually I am showing lot of data in the listview of main activity and I
 do not want to reload data for listview on exit. So I am willing to send
 app to background.


 Well, honestly, that's not really a valid case for this. Keeping your app
 running in the background after a user has chosen to leave it is not up to
 you, it's up to the OS. Would *you* want an app on your device to remain
 running eating up a large amount of memory after you thought you'd left it?
 You're just asking for angry users and 1-star complaints.

 Regardless, there's really no way to do this - the OS will kill your app
 eventually whether you want it or not to reclaim memory, and if your app is
 in the background eating a lot of memory, it probably becomes an even
 bigger target for being killed anyway.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

 --
 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/groups/opt_out.




-- 
Regards,
Muhammad Rashid
+923214917948

-- 
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/groups/opt_out.


[android-developers] How to position TextView scrollbar always at trailing side of text

2014-02-11 Thread Ted Hopp
Now that we have RTL text support in KitKat, I thought that a TextView that 
displays a vertical scrollbar would by default display it on the trailing 
side of the text. A simple experiment, though, shows that it always 
positions the scrollbar on the right, even when the text is right-to-left. 
(RTL text is correctly right-aligned automatically, but the scrollbar 
obscures the start of the text when it shows.) Is there a way of setting 
the TextView so that when the text is RTL, the scrollbar is automatically 
positioned on the left?

I suppose I could just use View.SCROLLBAR_POSITION_LEFT, but that's a 
terrible solution when the text directionality can change under user 
control (e.g., an EditText).

-- 
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/groups/opt_out.


[android-developers] Tax 1099-K's are NOT correct

2014-02-11 Thread niko20
Back in January of this year I went through all my 2013 payouts (actual 
transactions where money was sent to my bank) and added up all the amounts.

Now Google has sent me a 1099-K, and it's about $10,000 more than what I 
added up. It is just flat wrong.

Who the hell can I even call about this. Thanks to them the IRS is going to 
think I made way more. I added what was actually sent to my bank. 

To me, the numbers Google has never add up. I have never seen them add up 
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/groups/opt_out.


[android-developers] Google Spreadsheet Form - Android Browser presents blank view?

2014-02-11 Thread Chip
I have a functional Google Spreadsheet with a Form defined and active. It 
works fine when viewed from various browsers on Windows, Mac OS X, and 
iPad/iPhone. However, when the form is viewed in the Android Browser and my 
app using a WebView, it shows a blank section where the form contents 
should be visible. Advice?

-- 
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/groups/opt_out.