Profile cover photo
Profile photo
Nick Fedesna
61 followers -
Hmmm...what to do?
Hmmm...what to do?

61 followers
About
Nick's interests
View all
Nick's posts

Post has shared content
Today in Geek History: The Princess Bride premiered in 1987. 28 years old?! INCONCEIVABLE!
Photo

Post has shared content
Wow! How cool is this: Dungeons and Dragons comes to life on digital maps
http://bit.ly/1V9Dxzz via Daily Dot Geek
Photo

Post has shared content
9/27 or wait until 2033
A supermoon lunar eclipse is a rare event that has only occurred five times since 1900. Later this month, on September 27, this phenomenon will be visible in the night sky. Mark your calendars and be sure to check it out: https://youtu.be/vKAw_wrIr5s 

Post has attachment
A little thing I did this year.  You should buy it and tell me what you think.

Post has shared content
Wonderful!
This French extreme sports photographer took on a very different side project featuring adorable Lego Minifigs out exploring the big wide world.

Post has shared content
Praise the Android gods!
Percentage Based Dimensions and Margins with the Percent Support Library
Pro-tip by +Joanna Smith

There are a lot of options to help you position your Views just right. But adding a LinearLayout to your beautiful RelativeLayout just to gain access to layout_weight for that perfect positioning is ridiculous. And we hear you on that. Which is why Android introduced the new Percent Support Library (https://goo.gl/XTOD5G). Its PercentFrameLayout and PercentRelativeLayout provide an easy way to specify View dimensions and margins in terms of a percentage of the overall size.

That means if you want a view to take up exactly 50% of the available width and height, you’d use a layout such as
<android.support.percent.PercentRelativeLayout>
 <ImageView
  android:id=”@+id/centered_image”
  android:layout_gravity=”center”
  app:layout_widthPercent="50%"
  app:layout_heightPercent="50%" />
 <TextView
  android:id=”@+id/caption”
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:layout_below=”@id/centered_image”
  android:layout_gravity=”center_horizontal”
  app:layout_marginStartPercent=”25%”
  app:layout_marginEndPercent=”25%” />
</android.support.percent.PercentRelativeLayout>

Note that we use layout_marginStartPercent/EndPercent to set a margin based on a percentage of the total width.

Fun fact: if the percentage you set is more of a guideline than hard limit, you can also set layout_width/height=”wrap_content” in addition to layout_widthPercent/heightPercent and Views larger than the allowed percentage value will instead be resized using wrap_content rules.

So check out the Percent library today and use this efficient layout to #BuildBetterApps  

Post has shared content

Post has shared content
+Nick Fedesna​ try this!
ADB Idea 1.2.0 is out!

The biggest new feature is the nifty operation popup that shows a quick list of all the adb idea commands.

Update/download it now from the Jetbrains plugin repository!

Shortcut:
  - Mac: Ctrl+Shift+A
  - Windows/Linux: Ctrl+Alt+Shift+A

https://github.com/pbreault/adb-idea
Animated Photo

Post has shared content
So I published that watch face, and it got me thinking…

/cc +Ian Lake because this is all your fault :-P

Post has attachment
This was JUST after I ran this sign over with my golf cart.  (from last weekend, but had to post)
Photo
Wait while more posts are being loaded