boltingupandroid.wordpress.com
Todd Folsom | Bolting Android Apps Together
https://boltingupandroid.wordpress.com/author/toddcfolsom
Bolting Android Apps Together. Some of what I've learned about creating Android apps. Dragging Images When Scaling Must Be Restricted. January 21, 2014. I recently retired, but I have one more little tip to blog about. While I have a few ideas for some apps, I doubt that I’ll have to do the kind of intensive problem solving required during my job. Therefore this might be the last post. To support the requirement for panning and zooming images I took full advantage of the PhotoView library. Yes, here is a...
boltingupandroid.wordpress.com
A Drawable For A Directional Equilateral Triangle | Bolting Android Apps Together
https://boltingupandroid.wordpress.com/2013/11/08/a-drawable-for-a-directional-equilateral-triangle
Bolting Android Apps Together. Some of what I've learned about creating Android apps. A Drawable For A Directional Equilateral Triangle. A Drawable For A Directional Equilateral Triangle. November 8, 2013. Recently I needed to provide an up or down pointing triangle to the header of data columns to indicate if the data was sorted in a descending or ascending manner. Equilateral triangles indication sort direction. I found this post. EquiTriangleDrawable img = new EquiTriangleDrawable();. Import android&#...
boltingupandroid.wordpress.com
Detect Dismissal of the Soft Keyboard | Bolting Android Apps Together
https://boltingupandroid.wordpress.com/2013/02/22/detect-dismissal-of-the-soft-keyboard
Bolting Android Apps Together. Some of what I've learned about creating Android apps. Detect Dismissal of the Soft Keyboard. Detect Dismissal of the Soft Keyboard. February 22, 2013. There was a helpful answer posted to Stackoverflow. By Steelight who offered an override of the onKeyPreIme method that you add to your new instance of the EditText class. This is fine if you can do. E = new EditText(inflater.getContext(). But not so good if you have to get your EditText instances via. Click on the link to t...
boltingupandroid.wordpress.com
Creating Groups Or Categories For Your Settings Preferences | Bolting Android Apps Together
https://boltingupandroid.wordpress.com/2013/02/18/creating-groups-or-categories-for-your-settings-preferences
Bolting Android Apps Together. Some of what I've learned about creating Android apps. Creating Groups Or Categories For Your Settings Preferences. Creating Groups Or Categories For Your Settings Preferences. February 18, 2013. The Android API for creating a list of preference headers does not provide a means of categorizing or grouping those headers. Gouchet. Class of that application. Summary) { if (! Using this adapter allowed me to create a grouping header labeled “CONNECTIONS” above a lis...Seems lik...
boltingupandroid.wordpress.com
Dragging Images When Scaling Must Be Restricted | Bolting Android Apps Together
https://boltingupandroid.wordpress.com/2014/01/21/dragging-images-when-scaling-must-be-restricted
Bolting Android Apps Together. Some of what I've learned about creating Android apps. Dragging Images When Scaling Must Be Restricted. Dragging Images When Scaling Must Be Restricted. January 21, 2014. I recently retired, but I have one more little tip to blog about. While I have a few ideas for some apps, I doubt that I’ll have to do the kind of intensive problem solving required during my job. Therefore this might be the last post. Leave a Reply Cancel reply. Enter your comment here. Notify me of new c...
boltingupandroid.wordpress.com
Keep Android ImageView in a Constant 4:3 Aspect Ratio | Bolting Android Apps Together
https://boltingupandroid.wordpress.com/2013/03/23/keep-android-imageview-in-a-constant-43-aspect-ratio
Bolting Android Apps Together. Some of what I've learned about creating Android apps. Keep Android ImageView in a Constant 4:3 Aspect Ratio. Keep Android ImageView in a Constant 4:3 Aspect Ratio. March 23, 2013. So I adapted it. Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { / let the default measuring occur, then force the desired aspect ratio / on the view (not the drawable). super.onMeasure(widthMeasureSpec, heightMeasureSpec); int width = getMeasuredWidth(); ...You a...
boltingupandroid.wordpress.com
Moving An Android View By Dragging It | Bolting Android Apps Together
https://boltingupandroid.wordpress.com/2013/11/15/moving-an-android-view-by-dragging-it
Bolting Android Apps Together. Some of what I've learned about creating Android apps. Moving An Android View By Dragging It. Moving An Android View By Dragging It. November 15, 2013. Yes, here is another article about moving or dragging a view with a finger, but I think I can give a complete example in one place. Most of what I read while developing a movable component did not give a fully working result. I started with the article. Here is the first important point. At line 29, we see that the magni...